Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Eclipse seems to be slowing down my projects

  1. #1
    Junior Member
    Join Date
    Feb 2012
    Posts
    20
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Eclipse seems to be slowing down my projects

    Alright, this story is a bit of a lengthy one but I'll try to make it as short and sweet as possible:

    I've been developing a small indie game for quite some time now using the eclipse IDE and the slick2d/lwjgl libraries. Back when I first started working on the game, I was able to get a nearly perfect 60 FPS framerate, unless there was an absurd number of objects on screen. After a while, I took a short break from coding. When I eventually came back to it after maybe a month or so, I noticed I was getting bizarrely low frame rates that seem to have appeared out of nowhere. Where things used to be perfectly smooth, they began looking incredibly choppy and the FPS jumped around 40-60 fps. They are also times when it would just randomly freeze for maybe a second or so and then resume. Even when running a blank slick2d program that just opens up a black screen, I would get the same kinds of results.

    Now the most interesting part of the story: If I took my project and made it into an executable jar file with JARsplice, the game would run flawlessly like it did way before. This is what leads me to believe it may be eclipse that is now causing my game to run slowly for some reason. I have tried re-downloading eclipse on multiple occasions to try and fix this with no luck whatsoever.

    Does anybody know why it would be causing this, and what I might try to fix the problem? I sincerely appreciate any advice that anybody has to offer me.


  2. #2
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,607
    My Mood
    Hungover
    Thanks
    145
    Thanked 658 Times in 563 Posts

    Default Re: Eclipse seems to be slowing down my projects

    I don't know what JARsplice is. What happens if you just export the jar from eclipse?

    Could it be that it's any program, and not just eclipse? For example, what happens if you do something that's memory-intensive (such as opening itunes or playing a youtube video) while running the jar? You might want to check out your task manager for cpu/memory usage.
    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

Similar Threads

  1. i want three java related projects !
    By coolforyou in forum JavaServer Pages: JSP & JSTL
    Replies: 3
    Last Post: August 16th, 2011, 01:02 AM
  2. Java projects for beginner
    By hexwind in forum Java Theory & Questions
    Replies: 5
    Last Post: August 8th, 2011, 09:05 PM
  3. Slowing Down Audio in Java
    By jstn455 in forum Java SE APIs
    Replies: 0
    Last Post: June 18th, 2011, 02:33 PM
  4. Projects
    By Suzanne42 in forum The Cafe
    Replies: 0
    Last Post: April 22nd, 2011, 01:03 AM