LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: CaptainLocoMoco on August 20, 2016, 16:52:51

Title: LWJGL 2.9.3 : 60 FPS when testing in my Java IDE, but 7 FPS on exec .jar file?
Post by: CaptainLocoMoco on August 20, 2016, 16:52:51
I'm not sure what could be causing this issue. When I export my LWJGL program to an executable .jar my FPS gets destroyed. I've tried providing more RAM to the JVM, but that didn't help.
Title: Re: LWJGL 2.9.3 : 60 FPS when testing in my Java IDE, but 7 FPS on exec .jar file?
Post by: SHC on August 21, 2016, 08:00:55
Interesting, never experienced such an issue. Can you provide more details? Did you profile your application?
Title: Re: LWJGL 2.9.3 : 60 FPS when testing in my Java IDE, but 7 FPS on exec .jar file?
Post by: CaptainLocoMoco on August 23, 2016, 00:21:23
I used VisualVM and compared the IDE application and the exported one. Both were showing very similar results. I'm honestly not sure what info to give you.
Title: Re: LWJGL 2.9.3 : 60 FPS when testing in my Java IDE, but 7 FPS on exec .jar file?
Post by: Cornix on August 23, 2016, 07:56:41
Are you using VSync and is any other application using also VSync in the background?