I am developing a javaFx application for MAC and Windows, and I found that the application is using extremely large memory and cpu usage in MAC compared to Windows.
When I see my application's activity in Windows Task Manager, it shows usage of average 80MB memory and 1-2% CPU which reaches it maximum of 150MB and 12-15% CPU. On the other hand in MAC Activity Monitor the same application shows 150MB and 12-15% CPU at starting and increases continuously beyond 1GB and 90%CPU.
This is a very strange problem I found in my JavaFX application.
I even tested this for simple java application and found similar behavior with memory and CPU in MAC and windows.
Why Java uses more memory and CPU in MAC ? Is there any why to solve this problem ?
I have seen many problems when the Java launched new version that was not supported initially, due to security flaw(gatekeeper was blocking it/or not working)
this is the link if that help make it supporting more,
Old Post
I will say the securty feature of MAC will become bug some time as it explicitly do not update any plugin, so check the version of JAVA, and plugins if working fine.. post as old I don't know which plugins may be required but this is main concern of problems where plugins don't work properly..
also check this, if your system are accessing JAVA 6 also which was previously there please remove to avoid the same refer Discussion on apple
JAVAFX and JDK must be installed in same directory structure Oracle MAC FAQ question 2
I am not regular user of MAC, as not much required,(once a while)..
But do keep track of the versions and updates. :)
I hope this will solve..
My main focus is of old java 6 is also there please remove the directories of the same..
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With