Comments (4)
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.
64 GB and clean Ubuntu also worked for me
from opencascade.js.
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.
I compiled successfully on a PC with 64GB memory.
from opencascade.js.
Related Issues (20)
- Nuxt3 template
- How to iterate over NCollection_List?
- MultiThreaded build on the browser gives errors related to node environment HOT 2
- CI costs too much time when building ocjs HOT 5
- Is there a better way to add cpp code? HOT 2
- How to import brep file with opencascade.js? HOT 1
- null function or function signature mismatch when building shell from solid HOT 2
- How to access data from .write() HOT 2
- Custom Build: XCAFDoc_DocumentTool.ShapeTool is not a function
- Is It possible to export a image to SVG?
- can i modify or replace a shape for an assembly ? (Adding new shape replacing the old opencascade shape)
- How to config opencascade.js in next.js? HOT 1
- How to build only a few specific modules of occ
- Cannot bind the library with Vite HOT 1
- Noob question : about .step export
- Update opencascade to 7.8.0 HOT 1
- Few errors during custom build
- Project Maintenance Status? HOT 1
- Custom build no-exceptions.yml failed. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opencascade.js.