kayler-renslow / arma-dialog-creator

A dialog/GUI creation tool for Arma 3.
MIT License
76 stars 12 forks source link

Crash/Memory Leak using the color-sliders #12

Open Kaibu opened 7 years ago

Kaibu commented 7 years ago

Version and Build

Arma Dialog Creator Details Version: 1.0.2 Build: 15 Java: 1.8.0_72 JavaFX: 8.0.72-b15

Summary

Crash/Memory Leak

Detail

Crashing after using the color-chooser with sliding bars too often. Reproducable.

kayler-renslow commented 7 years ago

Did Java report an error?

Kaibu commented 7 years ago

Full-Freeze and High CPU-Usage, could only kill it, no errors or anything.

But I can't seem to reproduce it right now. Might have been related to my enviroment only.

kayler-renslow commented 7 years ago

Yea I looked at the code and there should be garbage collection. There might be a bug in JavaFX that's causing the issue.

I've noticed in the past that the Preview Window can slow down after a while and use up the CPU. Were you using the Preview Window while you were editing?

Kaibu commented 7 years ago

I can't seem to reproduce it even using the Preview Window right now, it happened multiple times in a row after only ~10 minutes of usage.

Might just have been a weird edge case.

kayler-renslow commented 7 years ago

How much RAM do you have?

Kaibu commented 7 years ago

16 Gigs

kayler-renslow commented 7 years ago

Okay so that's not the issue lol.

kayler-renslow commented 7 years ago

I'll look into this. Might be a lingering bug for a while.

Kaibu commented 7 years ago

Well, it has seemed to have resolved itself for me.

kayler-renslow commented 7 years ago

If it happens again, let me know.