GithubHelp home page GithubHelp logo

Comments (7)

vulevukusej avatar vulevukusej commented on August 29, 2024 1

@agviegas email sent. Thanks!

from openbim-app-templates.

beachtom avatar beachtom commented on August 29, 2024 1

@agviegas file does parse and generate successfully in web-ifc - so I think the bug is in components - so moving it

from openbim-app-templates.

davidgtl avatar davidgtl commented on August 29, 2024 1

Probably a cause for this issue is that we are loading everything in memory at the same time, which is not very scalable. Hopefully with the BIM tiles approach, which is around the corner, this will be solved.

Chunking the geometry ids across multiple <16M sets would indeed fix this. I'm excited to see what BIM tiles can do!

Until then, a workaround like the try catch I mentioned would be very useful to be able to notify the user that properties couldn't be loaded instead of waiting for them forever.

from openbim-app-templates.

agviegas avatar agviegas commented on August 29, 2024

File privately shared here.

from openbim-app-templates.

davidgtl avatar davidgtl commented on August 29, 2024

I have encountered this issue too and did some investigation:

  • The issue happens when loading a file, particularly in chrome-based browsers which have a 16 million elements Set limit
  • this caused the export function to fail and never trigger onPropertiesSerialized
  • so the parent Promise in data-converter.js > getModelProperties never gets resolved or at the very least rejected

It is still a relevant issue in the latest 1.3.2

@HoyosJuan Can I just put a try catch around the export code in IfcJsonExporter and do an await this.onPropertiesSerialized.trigger({})?

from openbim-app-templates.

agviegas avatar agviegas commented on August 29, 2024

Probably a cause for this issue is that we are loading everything in memory at the same time, which is not very scalable. Hopefully with the BIM tiles approach, which is around the corner, this will be solved.

from openbim-app-templates.

HoyosJuan avatar HoyosJuan commented on August 29, 2024

Yes @davidgtl, I see why not adding the try/catch statement as a workaround for now. Will let you know when it's done.

from openbim-app-templates.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.