ifcplusplus
ifcplusplus copied to clipboard
errror : bad allocation
Hi, I cannot load a big IFC file ( about 2.0GB) by SimpleViewerExampleQt, and send a message 'Error : bad allocation'. Do you know how to solve it ? Thanks :)
I did not encounter such a problem yet. Since this is an open source project, you can also figure out a solution (google, implement, debug, etc), and open a pull request. Thanks :)
I did not encounter such a problem yet. Since this is an open source project, you can also figure out a solution (google, implement, debug, etc), and open a pull request. Thanks :)
Thanks. I try to find the reason that the size of IFC file is out of the range(type:int).therefore, the datatype is modified to the datatype of size_t and can solve the little bug.
I have a similar issue in debug mode. I use this library in my project. If I read a big file first the program crashes. If I read a small file first it works, and if I read a large file after that it also works.
The crash comes from division by zero in CSG::classifyFaceGroupsEdge/processOneEdge/vector