memory errors of death
- drBouvierLeduc
- Posts: 412
- Joined: Wed Oct 11, 2006 2:32 am
- Location: france
memory errors of death
Hi all,
I was wondering, when using latest "official" blendigo version, how do you deal with memory errors ?
From what I understand, memory errors aren't related to the entire polycount of the scene, but rather on the polycount of each mesh.
I believe the limit is around ~300k or something ? So if no mesh is higher then this in the scene, there should be no problem.
In the project I'm working on, lots of meshes are sculpted and quite detailled. So I have split each of them, so that no one is higher than 200k polys. And still I get those memory errors...
So I'm a little lost there...
Smartden, I know you're working on that problem, is it possible to test that version of blendigo ?
I was wondering, when using latest "official" blendigo version, how do you deal with memory errors ?
From what I understand, memory errors aren't related to the entire polycount of the scene, but rather on the polycount of each mesh.
I believe the limit is around ~300k or something ? So if no mesh is higher then this in the scene, there should be no problem.
In the project I'm working on, lots of meshes are sculpted and quite detailled. So I have split each of them, so that no one is higher than 200k polys. And still I get those memory errors...
So I'm a little lost there...
Smartden, I know you're working on that problem, is it possible to test that version of blendigo ?
- drBouvierLeduc
- Posts: 412
- Joined: Wed Oct 11, 2006 2:32 am
- Location: france
- drBouvierLeduc
- Posts: 412
- Joined: Wed Oct 11, 2006 2:32 am
- Location: france
All I can advise is to use the exporter I maintain until Blendigo is fixed.
Or do something about the big meshes.
The limit is not directly your fault. The old Blender exporters (And I'm assuming without looking at Blendigo code, that it exports like the old exporters) try to put all of the mesh data into one string variable. This is bad, and this is the problem.
32 bit system can handle this fine. I export 1 million vert objects for fun on my old computer. (it has 2gb ram)
Or do something about the big meshes.
The limit is not directly your fault. The old Blender exporters (And I'm assuming without looking at Blendigo code, that it exports like the old exporters) try to put all of the mesh data into one string variable. This is bad, and this is the problem.
32 bit system can handle this fine. I export 1 million vert objects for fun on my old computer. (it has 2gb ram)
Content contained in my posts is for informational purposes only and is used at your own risk.
Oh, I forgot to link it - use the LAA compiled Blender.
http://www.graphicall.org/builds/builds ... how&id=493
i was using it for displacement export on win64 - it'll happily take 3g+ of ram before crashing, rather than ~1.2 G
http://www.graphicall.org/builds/builds ... how&id=493
i was using it for displacement export on win64 - it'll happily take 3g+ of ram before crashing, rather than ~1.2 G
Wedge is correct, I had a quick look at Blendigo, and it keeps the mesh data as one (or more?) temporary variables.
This is probably causing the out of memory errors.
To handle large meshes efficiently, it should write them out to disk as soon as possible.
There may be some issues relating to collapsing shared vertices, but this probably isn't done in Blendigo anyway.
I'm not sure if Smartden is working on this, but I'd be happy personally if someone else fixed it, as it seems a problem for a lot of people
This is probably causing the out of memory errors.
To handle large meshes efficiently, it should write them out to disk as soon as possible.
There may be some issues relating to collapsing shared vertices, but this probably isn't done in Blendigo anyway.
I'm not sure if Smartden is working on this, but I'd be happy personally if someone else fixed it, as it seems a problem for a lot of people
i'm working on it already. and i can say, it's make me pretty "paint in the ass". Ono has right, it needs some refactoring. But i think drBouvierLeduc and me will soon present you new version, that can handle big meshes
I plea you, be a little bit longer patient.
Last edited by SmartDen on Sun Feb 17, 2008 7:23 am, edited 1 time in total.
The exporters are written in modules. Just take out the exportMesh module from mine and throw it in Blendigo. Do you need my help?
Shouldn't take too long. Let it write directly out to file one obj per file like I did. Best way to do it. And object file is better than Indigo format. (no offense) This is because the less characters are used to identify what is what. I'd make obj file even more efficient by using only one letter to represent textures and normals rather than two. For every vert, normal, or texture location all you should need is one letter allowing the program to figure out what it is. Makes file size much smaller when working with large mesh.
Should remove any calling to NMESH as well, it has been deprecated for quite some time now.
I don't mind helping, just have to ask me. I'd like to think that the exporter I work on could be the 'core' of Blendigo and Blendigo can go on making its connection with the user while I fix the problems behind the scene and do not care so much for the ease of use.
I just get disappointed to see errors keep showing up months after I fixed them. And even worse to see fixes being brought up that aren't really fixes.
Shouldn't take too long. Let it write directly out to file one obj per file like I did. Best way to do it. And object file is better than Indigo format. (no offense) This is because the less characters are used to identify what is what. I'd make obj file even more efficient by using only one letter to represent textures and normals rather than two. For every vert, normal, or texture location all you should need is one letter allowing the program to figure out what it is. Makes file size much smaller when working with large mesh.
Should remove any calling to NMESH as well, it has been deprecated for quite some time now.
I don't mind helping, just have to ask me. I'd like to think that the exporter I work on could be the 'core' of Blendigo and Blendigo can go on making its connection with the user while I fix the problems behind the scene and do not care so much for the ease of use.
I just get disappointed to see errors keep showing up months after I fixed them. And even worse to see fixes being brought up that aren't really fixes.
Content contained in my posts is for informational purposes only and is used at your own risk.
Who is online
Users browsing this forum: No registered users and 27 guests
