• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

Differences in Java performance under OS 10.6 and 10.5  RSS feed

 
Ranch Hand
Posts: 122
1
Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've been developing my program on a machine with OS 10.6.8 and everything is going very well. However, when I tested it on a machine with OS 10.5 (and another one with OS 10.4), I got consistent failures to read in image data during program initialization. The older machine fails to load all the images and then can't display them. I checked performance with Activity Monitor and discovered that the OS 10.6 machine was using 185 MB of real memory and 401 MB of virtual memory. The OS 10.4.11 machine that I tested on showed only 96 MB of real memory usage and 385 MB of virtual memory usage -- and 577 MB of free RAM!

Why does the older system fail to allocate enough RAM to handle the program?
What can I do to fix the problem (other than load images only as they are needed)?

Thanks for any advice.
 
it's a teeny, tiny, wafer thin ad:
how do I do my own kindle-like thing - without amazon
https://coderanch.com/t/711421/engineering/kindle-amazon
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!