Re: 2.4 Official -- memory stuff
- Posted by Robert Craig <rds at RapidEuphoria.com> Jul 07, 2003
- 477 views
Andy Serpa wrote: > This has become a more general problem than I thought at first. > ... I still have the program you gave me before, but if you have a new one, please post it (or a stripped down example) or send it to me. I'll do some experiments using my 64Mb ME machine. Maybe I can quantify exactly what it is that leads to the bad performance. No one else has reported any performance problems in 2.4 (alpha, beta or official), but I did confirm terrible performance on my ME machine when running your previous program, when the memory used reached a certain level. As I recall, your previous program allocated millions of floating-point numbers in 4 sequences that each grew from zero-length, one element at a time, until they were 500000 elements long. Each f.p. number needs about 24 bytes, so, with other variables, I calculated your program would need 50 Mb of RAM on your (originally) 256Mb machine, and that's the best case, assuming not too many unused free blocks in the (over 2 million block) heap. Regards, Rob Craig Rapid Deployment Software http://www.RapidEuphoria.com