THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 20/09/2005 at 11:14, xxxxxxxx wrote:
Cinema 4D Version: 8.503
Platform: Windows ; Mac ; Mac OSX ;
Language(s) : C++ ;
Can anyone recommend a good reference book to C++ 'placement new' - for handling class object allocations into a memory pool?
Would be great if the reference was a more generalized Memory Management treatise.
I'll tell you, dealing with transient arrays, persistent arrays, arrays of classes (both transient and persistent), plugin objects, Cinema 4D objects, etc., etc., etc., it is impossible to avoid memory fragmentation. Bad enough if this was an independent executable, but a dll plugin running in another application where objects are going and coming constantly during processing. Ugggg.. Again - I (and you) shouldn't be charged with the management of memory - this should all be handled by the OS or subsystems. When will they learn... :(