Comments (7)
I've added a new setting in src/config.ts
called OLD_SPACE_SIZE
which you can tweak to increase the amount of memory available to Node. This might fix the OOM errors but I don't think the program is going to handle a 50MB+ model too well anyways. I'm currently working on performance in general so this may be possible as I make more optimsations. It may work now if you want to wait long enough 😄.
from objtoschematic.
Apparently this happens because of out-of-memory crash
from objtoschematic.
@LucasDower, how can I contact you?
from objtoschematic.
You can add me in Discord, SinJi#4165
from objtoschematic.
I've increased the amount of memory allocated to the program as described, and instead of a crash, simply get a "Failed to voxelise mesh" error. Figured I would make mention of this for posterities sake.
from objtoschematic.
@Buzzb0mber Hmm, that's not good. Are you able to share the model file?
from objtoschematic.
Sure thing. It's happened with a few different files, this is the one I'd been testing it on most recently.
https://mega.nz/file/mkhQEB6R#dkX5SHdAy05EhznfBvqIZG1aDToBXx18yKF-cjBFxYM
I'd have hoped that increasing the memory would have allowed me to change the height to at least 160, but it seems so far anything above roughly 120 causes the error. Any weird geometry/textures is a result of me reducing the poly count to see if it made a difference.
from objtoschematic.
Related Issues (20)
- problem with TGA images. HOT 1
- Material textures in the Materials section are not correctly disabled HOT 1
- Repeat texture coordinates are somewhat broken
- Some parts of the model do not render unless the camera is moved
- Refactor texture handling, allow .png, .jpg, .bmp, .gif, .webp HOT 1
- Voxel overlap does not work as intended
- Various disabled states for material components are missing styles
- .Vox exporter for voxel meshes
- Collection of objects imported with GLB ignore world positions
- npm package/API HOT 4
- Adding modded blocks
- No human-readable error when assigning blocks with empty block palette
- Error when exporting a block mesh to .litematic that uses a single block
- No tooltips for block palette buttons
- Freeze when click 'Load Mesh' with no mesh selected
- After recoloring the mesh an option to donwload the new recolored model.
- STL support and height increase
- Add Create compatible schematics
- texture HOT 1
- Something unexpectedly went wrong 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 objtoschematic.