I was starting my server and three clients. My problem is heap size it’s jumping in server for no reason or maybe it is but i can’t figure it out. Live results showing com.jme3.scene.Geometry[] (Live bytes = 132MB) but was not starting new clients.
com.jme3.scene.Geometry[]:
from begining until ~3:45PM it was~11MB,
from ~3:45PM until ~4:30PM it was gone,
from ~4:30PM until~ 5:15PM it was 33MB,
from ~5:15PM unti ~6:15PM it was gone,
from ~6:15 until end it appeared as 134MB,
maybe someone can give me some direction how to solve this problem .
here in video I can show my geometry stats, in server I’m loading only map, and robot is only sphere for collusion. For player on server I’m not loading any geometry. This video is on client side so.
[video]Show stats "Mech" - YouTube
[java]
private void addPhisicsForPlayers() {
for (Player pl : allRoomPlayers) {
bulletAppState.getPhysicsSpace().add(pl.getPlayerController().getPlayerNode());
rootNode.attachChild(pl.getPlayerController().getPlayerNode());
}
}
[/java]