ifcplusplus
ifcplusplus copied to clipboard
Feature Request: need for memory error handler when IFC++ fails loading big IFC files.
IFC++ loading the 288-Mb IFC file has been tested on two PCs. The file can be
found at http://download2cf.nemetschek.net/www_misc/bim/DCR-LOD_300.zip
The first PC, with 16Gb of RAM, loaded and displayed the IFC file just fine,
and the other with 4Gb of RAM never completed the loading and got hanging with
no error messages.
The addition (or, fixing if already present) of an error handler signalling the
memory issue while loading is needed.
Thanks
Original issue reported on code.google.com by [email protected] on 7 Aug 2014 at 12:14
Memory allocation error handling is not implemented yet, because it was not
important for the project I'm working on at the moment.
I'm also thinking about reducing the memory footprint by defining for example
IfcLengthMeasure simply as double, not as an object.
That would reduce the memory for one value from 64 to 8.
But then it is not possible to use inheritance for SELECT types like
TYPE IfcBendingParameterSelect =
SELECT (IfcLengthMeasure ,IfcPlaneAngleMeasure);
It is not important for me at the moment, so I cannot promise when I can spend
time on this.
Original comment by [email protected] on 7 Aug 2014 at 5:13
- Changed state: Accepted
- Added labels: Type-Enhancement
- Removed labels: Type-Defect
Ok got it. Thanks for accepting the feature request for now.
Original comment by [email protected] on 7 Aug 2014 at 8:14
- Added labels: ****
- Removed labels: ****
Original comment by [email protected] on 8 Jan 2015 at 11:27
- Changed state: Started
- Added labels: ****
- Removed labels: ****