Do you know what error this is: "OutOfMemoryError: bitmap size exceeds VM budget" And why would this happen when the Memory Compactor says im only using 3000KB of memory?
Is that related to textures?
Is that related to textures?
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuote from: EgonOlsen on August 07, 2012, 10:51:20 AM
Also keep in mind that, in case you are reusing instance variables, that
world=new World();
is not the same as
world=null;
world=new World();
The former one will use twice the memory while creating the new instance of World (or Object3D or whatever...) while latter won't.
Object3D obj = data.getObject();
Camera cam = visualWorld.getCamera();
SimpleVector desti = new SimpleVector(cam.getPosition());
SimpleVector objCenter = obj.getTransformedCenter();
SimpleVector dest = desti.calcSub(objCenter);
System.out.println(objCenter.x + " " + desti.x + " " + objCenter.y + " " + desti.y);
//dest=dest.normalize();
// dest.scalarMul(0.05f);
obj.translate(dest);
objCenter = obj.getTransformedCenter();
System.out.println(objCenter.x + " " + desti.x + " " + objCenter.y + " " + desti.y);
Quote from: EgonOlsen on April 10, 2012, 08:52:35 PMYou are right it works now. I was originally using 1.23.
It should work with shareCompiledData too. Have you tried the latest beta (http://jpct.de/download/beta/jpct.jar)? I remember that i fixed a similar issue in it...
Page created in 0.020 seconds with 12 queries.