Posts: 1,276
Threads: 91
Joined: Jul 2011
RE: inliner - new version 2.3.0.0
2018-10-01, 17:48
(2018-09-30, 21:16)Roland Melkert Wrote: (2018-09-30, 20:04)Michael Heidemann Wrote: If all works on the last test with a model (4MB size) without an memory error I think my work is done and I will release the next version of MPDCenter. If also Inliner will be updated I am going to decide later.
stay interested
I'm curious how do you manage to 'waste' 2GB of memory for such a relatively simple operation?
Are you resizing a lot of (huge) dynamic arrays or something?
If so you might want to switch to pointer arrays to prevent heap fragmentation.
Hi Roland, thanks for your tips. As I am coding in Visual Basic NET I do not really know what you are talking about. I think my approach is completely different from anybody else. I handle each file and each line and each element in a line as an object. This has many advantages but surely also some disadvantages. To waste memory is easy. Just create each time a new object. Then at one point you are out of memory :-)
I have now managed it differently and I have already inlined a 4 MB mpd file model into a 970 MB ldr file without any reference to the library. And I got no error :-)
Sadly I could not load this ldr file into LDView to see the result. But small files are very much ok.
Inliner 2.4.0 is now out - please share your experience.
cu
Mikeheide