Periodic framerate drop on a mac
in
Integration and Hardware
•
2 years ago
Dear fellow procesiites:
I've writen quite a complex app in processing. It's desinged as a systems monitor that is run on a big screen in the offices of the company I work for. it features rich graphics and real time updates using websockets.
Everything runs fine on my computer (MacBook Pro 13' core i7 with 4gb of ram). However, when I run the program on the monitor computer (a Macbook Pro 15' core i7 with 8GB of ram, running the same version of mac os, java and processing) the framerate oscillates. It runs fine at 24 fps and then after a bit it periodically drops to around 12. This happens periodically, but I am unsure as to why it should run fine on my computer but not so well on a higher spec model.
I've profiled my app on netbeans and as far as I can tell, there aren't any obvious memory leaks (memory usage oscillates at around 75 mb, allocated memory is at around 90 mb. Could it be something to do with the garbage collector? Any ideas would be massively appreciated.
cheers
Dario
:wq
1