Ok, my project was doin just fine after finding out how to rotate and copy images (Kudos to yall) but now Ive hit a ‘major’ problem. I am rotating an image (about 1k) 32 times. When I did this for more than 10 objects I got a memory exception. I then tried makin the image static for that class and I increased my max object count to 1000, although it was rather slow, not a problem. At any rate, I don’t inteand for there to ever be more than 50-70 ships (each type of ship haveing 32 1k images) at a time in my game, I am just curious on how you guys deal with this ‘issue’. Because sooner or later my projects will be pretty big And I have np, just wondering what you professional, super good hobyists do to optimize code or increase mem
Note: my task manager says that the JVM is taking about 79.9 megabyts of my system mem when I do get the error, I have 640megabytes why the low allocation ? Also is there a way to see how much mem each object and/or class takes?