I have a compiled .jar on my Mac that I run. Not only does it run slowly (lag sometimes), but I'm pretty sure it's leaking memory. It's a game client so it has an output stream/input stream. As I look at it in Activity Monitor its memory usage is constantly increasing.
Does anyone know of perhaps a "Java memory cleaner" for Mac? I know they have things like it for Windows that I've used when playing on there.
Also is there a way to optimize Java on the Mac so it runs faster? My internet is not lagging but sometimes there is lag ingame due to my system itself I'm pretty sure.