Git Product home page Git Product logo

Comments (4)

donalffons avatar donalffons commented on June 2, 2024 2

Hi there, apologies for the late reply. Maybe your system is running out of memory during the build? Your OS would then most likely kill the container. Building the library requires lots of memory - in the order of ~40-50 GB. High memory usage seems to be a common issue with highly optimized Emscripten builds.
If you're on Linux, you should be able to configure swap space on your disk to be used when memory runs low. On MacOS / Windows, there should be similar workarounds...

from opencascade.js.

kerimcharfi avatar kerimcharfi commented on June 2, 2024 1

64 GB and clean Ubuntu also worked for me

from opencascade.js.

frank-pian avatar frank-pian commented on June 2, 2024

I still fail to build with this process.

...
/XCAFDoc_DimTolTool.cxx.o', '/opencascade.js/build/sources/XCAFDoc/XCAFDoc_NotesTool.cxx.o', '/opencascade.js/build/sources/XCAFDoc/XCAFDoc_LayerTool.cxx.o', '/opencascade.js/build/sources/XCAFDoc/XCAFDoc_ShapeTool.cxx.o', '/opencascade.js/build/sources/XCAFDoc/XCAFDoc_VisMaterial.cxx.o', '/opencascade.js/build/sources/GeomAdaptor/GeomAdaptor.cxx.o', '/opencascade.js/build/sources/GeomAdaptor/GeomAdaptor_SurfaceOfLinearExtrusion.cxx.o', '/opencascade.js/build/sources/GeomAdaptor/GeomAdaptor_Surface.cxx.o', '/opencascade.js/build/sources/GeomAdaptor/GeomAdaptor_SurfaceOfRevolution.cxx.o', '/opencascade.js/build/sources/GeomAdaptor/GeomAdaptor_Curve.cxx.o', '/opencascade.js/build/sources/IntStart/IntStart_SITopolTool.cxx.o', '-o', '/src/rocketExample.js', '', '-O3', '-sEXPORT_ES6=1', '-sUSE_ES6_IMPORT_META=0', "-sEXPORTED_RUNTIME_METHODS=['FS']", '-sINITIAL_MEMORY=100MB', '-sMAXIMUM_MEMORY=4GB', '-sALLOW_MEMORY_GROWTH=1', '-sUSE_FREETYPE=1']' returned non-zero exit status 1.

from opencascade.js.

frank-pian avatar frank-pian commented on June 2, 2024

I compiled successfully on a PC with 64GB memory.

from opencascade.js.

Related Issues (20)

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.