zward / Amua

An open source modeling framework
GNU General Public License v3.0
33 stars 11 forks source link

CPU fan #46

Closed fawaz91 closed 4 years ago

fawaz91 commented 4 years ago

Everytime i use AMUA on MacOS it overheats my macosx and the software takes up more 100% CPU usage is this because of java or some thing with the software in MAC affecting the softwares performance.

krijkamp commented 4 years ago

This is an issue I and a lot of students in our class experiences as well. This is also affecting the battery of the laptops, they are out of battery within a couple of minutes.

zward commented 4 years ago

@fawaz91 Can you send me more information on your system? (In Amua go to Help -> Error Log and scroll down to system properties) @krijkamp Do you know if this is only affecting Mac laptops, or is it all computers? I would expect running Monte Carlo simulations to use a lot of CPU (especially if multi-threading is turned on), but otherwise I'm not sure what would be causing the CPU usage.

krijkamp commented 4 years ago

For the Mac laptops this issue was the strongest. These laptops were out of battery in ~15 minutes. For the other computers (I just asked a Dell user) the battery % went done 10% in 5 minutes. This happened without running any analysis. Just having the program open was already enough.

fawaz91 commented 4 years ago

Hi, The same case with me as Eline, that just openinh the software drained the battery when i logged into activity monitor it said to have used 114% of cpu etc. And the fan of the mac were continuously on until software is minimized.

On Fri, 21 Feb 2020, 14:30 Eline Krijkamp, notifications@github.com wrote:

For the Mac laptops this issue was the strongest. These laptops were out of battery in ~15 minutes. For the other computers (I just asked a Dell user) the battery % went done 10% in 5 minutes. This happened without running any analysis. Just having the program open was already enough.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/zward/Amua/issues/46?email_source=notifications&email_token=AOTVGO7Z27SBWKSZHHJU5K3RD7JO7A5CNFSM4KYYNVR2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMSWLXI#issuecomment-589653469, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOTVGO3IMVXAJTGKHHTEJ4DRD7JO7ANCNFSM4KYYNVRQ .

zward commented 4 years ago

Do you have a model open, or just the program?
Can you see if the problem scales with the number of nodes in a model? There might be something going on with drawing the components.

fawaz91 commented 4 years ago

Hi just the program open here at the error log statistics

On Fri, Feb 21, 2020 at 3:37 PM Zach Ward notifications@github.com wrote:

Do you have a model open, or just the program? Can you see if the problem scales with the number of nodes in a model? There might be something going on with drawing the components.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/zward/Amua/issues/46?email_source=notifications&email_token=AOTVGO5ZTNDDT2GJWHESA63RD7RLZA5CNFSM4KYYNVR2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMS45IQ#issuecomment-589680290, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOTVGOZSJS7B34ZAK3YWKBLRD7RLZANCNFSM4KYYNVRQ .

-- Best,

Fawaz Tariq Brand Executive M: 03444546426 T: 042-38104444

[image: View my profile on LinkedIn] https://pk.linkedin.com/in/fawaztariq

zward commented 4 years ago

I don't see the error log stats - can you try copying it in again? Thanks

zward commented 4 years ago

I think I figured out the problem - there was recursive repainting of icons going on, which was consuming CPU just having the program open. This should be fixed now. Please try this test version: https://www.dropbox.com/s/62l1gd3cevze50r/Amua_0.2.8-TEST2.jar?dl=0 and let me know if the problem is solved.
Thanks for alerting me to this issue!

fawaz91 commented 4 years ago

Thankyou so much. I would just try the program again and hopefully it is fixed. I appreciate your time to look into this :)

Best Fawaz

On Fri, 21 Feb 2020, 22:49 Zach Ward, notifications@github.com wrote:

I think I figured out the problem - there was recursive repainting of icons going on, which was consuming CPU just having the program open. This should be fixed now. Please try this test version: https://www.dropbox.com/s/62l1gd3cevze50r/Amua_0.2.8-TEST2.jar?dl=0 and let me know if the problem is solved. Thanks for alerting me to this issue!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/zward/Amua/issues/46?email_source=notifications&email_token=AOTVGO46EPWHHQEQ2WY5RZ3REBD77A5CNFSM4KYYNVR2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMUGY4A#issuecomment-589851760, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOTVGOYNJVJ3DPICWXHLCX3REBD77ANCNFSM4KYYNVRQ .

zward commented 4 years ago

This issue should be resolved as of 0.2.8