Hi, I dont know if some of you use macos9 compilers, in particular oldish code warrior 10 which is my case. I had last year some memory problems, and found the same kind of problems in my code also. Some frequent allocations may produce a HUGE bloc to be allocated. For instance I ask 1000 times 1000 bytes, and instead of allocating 1Mb, the application allocates 100 Mb !
The solution is to replace "malloc" and "free" by "NewPtr" and "FreePtr". The only problem is "realloc" that does not exist, but can be easily coded. I beleive that the bug is in old code warrior implementation of "malloc". But not sure. Hope this helps. -- Riccardo Cohen Articque Les Roches 37230 Fondettes France email = [EMAIL PROTECTED] web = http://www.articque.com tel: +33 02 47 49 90 49 fax: +33 02 47 49 91 49 _______________________________________________ metakit mailing list - [EMAIL PROTECTED] http://www.equi4.com/mailman/listinfo/metakit
