Problem with a top down shooter game I have coded

I have created a space Invaders type of a game in JavaFX, now the game works fine from start to finish with the exception of the sound effects (I am still working on them). My problem comes when I play the game again from the splash screen. That is I do not close the application and start it over. At that point the game starts to freeze up, and move very slowly as if all the RAM had been used up on my machine. In the worse case the game just freezes all together.
I know that this would be much easier with code samples, of my work, but I have not a clue where the problem is coming form and to post the full code here would make things a mess.
I would like to know if any of you out there have had a similar problem and what caused it, and how maybe to go about fixing this problem.
My fist thought was garbage collection but that seems to be automatic with the netbeans ide.
Any suggestion would be very welcome.
Thanks in advance.

try -Xmx768m to give your application more ram.
Check your ram consumptation on your ingame restart. If ram consumption always goes up you have
a "java memory leak". Means some objects are never set to null. Like some endless growing lists for example.
Cheers
suvi.org

Similar Messages

  • Having problems with Bridge shutting down after saving photo in PS Cs5,,,,,,,,,  Also when i attempt to update either PS or bridge get an error message in Adobe application manger "Error loading updater workflow"

    Having problems with Bridge shutting down after saving photo in PS Cs5,,,,,,,,,  Also when i attempt to update either PS or bridge get an error message in Adobe application manger "Error loading updater workflow"

    Sorry for the late reply. My email firewall has become a little over zealous & sent a lot of my emails straight to my junk email folder, so I have only just now discovered your reply in my junk mail folder.
    The only "don't open files exceeding xxx megabytes" instruction I can find in my Prefs, is in the Bridge Prefs for Thumbnails, & mine is set at 1000mb. The biggest files I handle are bigger than 200mb so I should be able to open a few, not just one.
    However, this doesn't explain why I can open a psd format file of 180mb, close it, but then can't open a RAW format file of only 26mb immediately after.
    I can open the RAW file only if I restart my computer - very annoying!
    However, thanks for the advice about the video card & memory.
    So, I'm still stuck as to what the issue is.

  • TS3694 Hi,I have an iphone 3g that is "not" jailbroken,nor have I tried,however,I had been having problems with it shuting down&not starting again so I updated&tried to restore only to have an error 1015.The iphone is now stuck on the connect to itunes,pl

    Hi, I have an Iphone 3g that is "Not" jailbroken, nor do I want it to be jailbroken. However, I had been having problems with it shuting down and not starting again. So, I tried to update and restore only to get an "error" 1015.
    It is now stuck on "connect to itunes"
    Any help would be great as this is a factory unlocked phone

    Apple in no way blocks devices.
    Carriers can blacklist devices from their network.  If that is what has occurred, only the carrier can remove the blacklist.  This should have nothing to do with your ability to activate the device and use it as an iPod.

  • I have a problem with Pages shutting down my documents.

      I have a problem with Pages shutting down my documents. I have several
    several documents on my homepage,but once I select one it shuts down and
    goes to the ipad homepage.Other documents open with no problem.
    Can someone tell me what's happening
    antdel

    Pages is crashing for some reason.
    You say that other documents open with no problems, do you mean other Pages documents or documents in another app?
    Try closing Pages completely in the recents tray and reboot your iPad. See if that helps. If it doesn't help, you may have to delete and reinstall Pages. If that doesn't work, you might have a corrupt document that you need to track down and delete.
    Go to the home screen first by tapping the home button. Double tap the home button and the recents tray will appear with all of your recent apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner of the app that you want to close. Tap the home button or anywhere above the task bar.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.

  • ITS 6.20 SP18 Problem with the top bar menus

    Hello Henning,
    we're using ITS 6.20 SP18 and experience a problem with the top bar menus in the SAPGUI for HTML (Enjoy Design) in both MSIE 6 and Moz Firefox 1.0.4.
    When clicking the dropdown menus in the top bar the menu simply won't open. This only occurs in all of our homegrown (Z*) services when dropping into SAPGUI for HTML (ITS is in mixed mode). However - When running service WEBGUI seperately (via ...scripts/wgate/WEBGUI/! ) the menus work funnily enough.
    This worked fine prior to the upgrade. Is there a new service parameter that I need to set? Have you got any more documentation? I checked out any related SAPNet notes on the SP18 documentation sheet, but couldn't find anything related.
    Kind regards,
    Michael

    > There is no known problem regarding ITS 6.20 PL 18
    > and the menu at this time. Please provide an example
    > for a service file (.srvc) of one of your Z
    > services and also the global.srvc.
    >
    <u>These are the <b>global.srvc</b> settings</u>
    ~appserver 
    ~client  010
    ~clientcert  1
    ~cookies  1
    ~exiturl 
    ~hostsecure  xxxxxxxxx
    ~hostunsecure  xxxxxxxxx
    ~language 
    ~login 
    ~logingroup  ZZZZZZZZ
    ~menu2002  0
    ~messageserver  xxxxxxxx.xx.xx.xx
    ~multiinstanceservices  1
    ~password 
    ~portsecure  443
    ~portunsecure  80
    ~routestring 
    ~runtimemode  pm
    ~systemname  XXX
    ~systemnumber  00
    ~theme  99
    ~timeout  120
    ~urlarchive  /scripts/sapawl.dll
    ~urlimage  /sap/its/graphics
    ~urlmime  /sap/its/mimes
    ~usertimeout  1
    ~webgui_theme  99
    ~xgateway  sapdiag
    ~xgateways  sapxgadm,sapdiag,sapxgwfc,sapxginet,sapxgbc,sapextauth
    ~rfctimeout     10
    ~noheaderokcode  1
    ~http_use_compression  1
    ~http_compress_level  7
    ~mysapcomnosso1cookie  1
    <u>These are the service settings for one of our <b>Z* services</b>:</u>
    ~AUTOSCROLL     0
    ~COOKIES     1
    ~GENERATEDYNPRO     1
    ~HTTP_COMPRESS_LEVEL     9
    ~HTTP_USE_COMPRESSION     1
    ~LISTSCROLLING     0
    ~LOGIN
    ~PASSWORD
    ~POPUPS     1
    ~STYLE     DHTML
    ~TRANSACTION     Zxxxxx
    ~WEBGUI
    ~WEBGUI_POPUPS     1
    ~WEBGUI_THEME     99
    Kind regards,
    Michael

  • Problem with the shut down action

    Hi,
    Since a few monthes, I have a problem when I want to shut down my 27" iMac.
    Instead of shutting down, he reboots.
    And if I shut it down again, it finally shuts down.
    I have the same problem with the suspension of activity. I have to do it twice because it reactivates after the first times.
    What happened ?
    Thank for the answers ?

    Step one is to create a new admin user account, log into it, and see if the problem persists.

  • Problem with battery running down more quickly after downloading OS6 to 3GS iPhone

    Problem with battery running down more quickly after I downloaded OS6 to 3GS iPhone.

    gdgmacguy
    I guess I should have asked for the "definitive" fix. I read several "fixes" but it seems no one knows if Apple has a definitive fix. Kind of like going into an Apple store and getting three different answers from three different reps. At least they are not rude and no, I don't have a problem searching the forum.
    <Edited by Host>

  • Weird problem with power shut down msi nforce 4 platinum

    recently i have flashed the latest bios 1.9 of msi nforce 4 u platinum, everything work fine untill yesterday.some stanges happened......
    my power doesnt have a on and off button on it ,every time i turn off the pc , i have to turn off the power button of a socket near by the pc.everytime it works fine, but yesterday when i turn on the power on button of that socket , the pc automatic start, i didint turn on the power button of pc, what a weird problem..   also when i  go into os , the system time also changed, although i can turn them back to correct one in bios and os, but when i turn the pc off , it changed again...   could any one help me out , what is teh real problem of my pc. some virus ?thanks a lot.
    weird problem with power shut down  msi nforce 4 platinum

    it seems the first question has been solved. cos today when i turn on pc, the oc set up is gone ,in bios, it back to the original set up.i cant save my oc setup, so it definitely a battery problem!!!!!!!!!!!
    i take the old battery t o a saler , there they massure it with voltmeter, it shows only 0.97v, but in bios 1.6 it shows 1.82v, so waht is the real meaning of that reading num in bios for battery?it cant be the real voltage of the battery. i buy a new one ,this one is maxcell 2032   hitachi, the old one is shi  t   panansonic 2032 .the new one shows 3.17v with voltmeter, then i come back , installed the  new battery , in bios this time it shows 2.3v in bios 1.6. so the reading num in bios for battery is definitely is not a real reading for your battery.
    i will keep my pc in 24/7 using , and i will look if the battery is sable or not , cos untilll now no one come out for a real explain for this  stupid battery problem of msi nofroce 4 platinum.i dont want change battery every 2 or 3month, what a real sick of this!!!!

  • I have a problem with my iphone5. I don't have signal, but I can check my email, facebook... The operator is identified but I can't call

    I have a problem with my iphone5. I don't have signal, but I can check my email, facebook... The operator is identified but I can't call

    You probably don't need to do that.
    How to Remove MacKeeper or use the Uninstall option in MacKeeper.
    To erase and reinstall:
    Install or Reinstall Lion/Mountain Lion from Scratch
    Be sure you backup your files to an external drive or second internal drive because the following procedure will remove everything from the hard drive.
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Erase the hard drive:
      1. Select Disk Utility from the main menu and click on the Continue button.
      2. After DU loads select your startup volume (usually Macintosh HD) from the
          left side list. Click on the Erase tab in the DU main window.
      3. Set the format type to Mac OS Extended (Journaled.) Optionally, click on
            the Security button and set the Zero Data option to one-pass. Click on
          the Erase button and wait until the process has completed.
      4. Quit DU and return to the main menu.
    Reinstall Lion/Mountain Lion: Select Reinstall Lion/Mountain Lion and click on the Install button.
    Note: You will need an active Internet connection. I suggest using Ethernet if possible
                because it is three times faster than wireless.

  • Please help us, we have a problem with loading a page is slow we have to wait a longer time to open our one page, thanks in advance

    Please help us, we have a problem with loading a page is slow we have to wait a longer time to open our one page, thanks in advance

    You can try these steps in case of issues with web pages:
    You can reload web page(s) and bypass the cache to refresh possibly outdated or corrupted files.
    *Hold down the Shift key and left-click the Reload button
    *Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    *Press "Command + Shift + R" (Mac)
    Clear the cache and cookies only from websites that cause problems.
    "Clear the Cache":
    *Firefox/Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Firefox/Tools > Options > Privacy > "Use custom settings for history" > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
    *Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
    *Do NOT click the Reset button on the Safe Mode start window
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Why I had no problems with the VZW employees and other people have?

    I think that most people who cannot resolve problems with the VZW have an attitude problem.
    Wise saying:  you can get more with honey than with vinegar.
    Since I “upgraded” my old Samsung Sway to a new Samsung Intensity III, in the past three weeks I spent many hours dealing with the VZW store employees, customer service reps, and tech support people. The phone was replaced two times, and I had no problem getting the replacements.
    The third phone did not working how I expected.
    Today I called VZW customer service and said I don’t need anymore trouble shooting and I wanted find a resolution, which will be satisfactory to both of us. After a short conversation with a customer service rep, I was connected with a tech support. I told him that I don’t need any more trouble shooting on the Samsung Intensity III because I already spent HOURS doing that on three devices.
    We spoke about what the VZW could offer me, about replacements with different phones, etc. Our conversation ended with me offering the resolution that could satisfy me, which was to keep this phone and my account will be credited for the $30.00 “upgrade” fee and I will buy Samsung Sway on eBay. NO PROBLEM. 
    My account was credited and I was advise about the ESN number and activation.
    Why I had no problems with the VZW employees and other people have? The answer is simple. I did not have attitude when I was spoke to them.
    So if you want the problem to be resolved, put your anger in you pocket before you start the conversation. You can say that you are angry, frustrated, etc like I did, but add that you understand that this is not their fault that the manufactures makes a crap phones.

    Yes, you are right. I lost my upgrade. Also, it’s true that I could buy the phone on eBay… if I knew then what I know now. In the past, I never had problem with any of my phones. Doing an upgrade with the VZW was a normal thing for me. I didn’t expect that Samsung Intensity III would be a junk phone.  My last upgrade was 4 years ago. I had $50.00 ‘new every two’ credit on my account, which was used for an upgrade.  I lost the $50.00 credit paying for Samsung Intensity III. Sometimes we learn from our mistakes or from a bad experience. Three weeks ago I did not know that I could buy a phone on eBay and activate with VZW without paying $30.00.
    Samsung Sway is coming from …eBay – keep your fingers crossed for me.

  • At event calendering site, getting message "There was a problem with your event submission. If you have disabled JavaScript please enable it and try your submission again." Javascript is ENABLED on my computer.

    I'm trying to submit an event to the events calendar at http://calendar.jtnews.net/events/index.php?com=submit. After I enter the Authentication words and press Enter, I get the message, "There was a problem with your event submission. If you have disabled JavaScript please enable it and try your submission again." According to my Firefox/Tools, etc., button, Javascript is enabled. I

    Hello mjswooosh,
    I'm very disheartened to hear that you've had ongoing problems when attempting to order from BestBuy.com. Our goal is ever to provide a fun and efficient shopping environment! Certainly creating aggravation serves neither you nor us and I apologize sincerely for this having been your experience.
    We recommend the troubleshooting steps you mentioned (i.e., clearing the browser cache, deleting temporary internet files and cookies) because this is the most common cause of this type of problem. I too have encountered this issue from time to time and these steps have almost always resolved the problem. I say almost always because there's one further step you can try: ensure that you have signed out of BestBuy.com, then perform the browser maintenance steps we've recommended. Afterward, before signing in to BestBuy.com, add your desired items to your cart and sign in as part of the checkout process. When the standard steps have not netted a resolution for me, this has solved the problem each time.
    I hope this helps. I'm very grateful that you took the time to write to us with your concerns and for sharing your very valuable feedback about your online experience.
    Sincerely,
    John|Social Media Specialist | Best Buy® Corporate
     Private Message

  • I'm unable to install the newest version of itunes on my pc, the promt says that there is a problem with the windows installer package, but I have downloaded the exe more than once. Is anyone able to help?

    I'm unable to install the newest version of itunes on my pc, the promt says that there is a problem with the windows installer package, but I have downloaded the exe more than once. Is anyone able to help?

    Yes, I had found a similar solution also.  I'm running XP Pro, SP3.  I went Control Panels/ Add-Remove programmes/apple software update/ change/ repair.  Then run the 10.5 exe.
    While the programme updated from version 8 of iTunes, my new iTunes is now a mess.  Not all of my music was in the same folder previously but it all showed up on iTunes.  Now many albums have been left out, some have only a few tracks and some have two copies of some tracks as well as having other tracks missing.  I haven't begun to work on that.

  • I am sachin ,purchase iPad mini but I have problem with apple Id .because I don't have credit card for payment .i have debit card so pl help me

    I am sachin ,purchase iPad mini but I have problem with apple Id .because I don't have credit card for payment .i have debit card so pl help me

    As far as I know debit cards aren't accepted as a valid payment method. There are instructions on this page for how to create an account without giving a credit card number : http://support.apple.com/kb/HT2534
    Depending upon what country that you in you might be able to buy iTunes gift cards from Apple or other stores (supermarkets, electronics stores etc) and use those to buy items - but they aren't available in all countries, and they are country-specific (they can only be used in their country of issue

  • I have a problem with my macbook,if I don't have my earphone plugged, I can't listen anything,and start shine a red light. what should I do?

    I have a problem with my macbook,if I don't have my earphone plugged, I can't listen anything,and start shine a red light .what should I do?

    try inserting and removing the headphones in and out of the audio jack.  The toggle switch is stuck and your mac thinks the headphones are still plugged in.

Maybe you are looking for

  • Adobe Reader Update for MacBook Pro with Retina Display

    I recently purchased the new MacBook Pro with Retina Display and noticed when I downloaded Adobe Reader that it had not yet been updated to support the new Retina Display. If I remember correctly, it was announced that Adobe Photshop has been updated

  • XP 64 bit constant crashes on Nehalem Mac Pro 8 core

    We have recently purchased 4 additional Mac Pros to add to our existing render farm of older 8 core Mac Pros. We run both Mac OS and XP 64 bit on all of our Mac Pros so that each machine can be used for our Motion Graphics artists running After Effec

  • Technical Content Activation

    Hi Iam trying to activate technical content from Bus. content are and being unsuccessfull. Steps i took     Collected the technical content objects.     Marked all of the objects to be installed.     Ran install and nothing happenned.     Then i trie

  • Error while installing Grid control on XP-32bits

    Bonjour,//hello Je vais avoir besoin d'un petit coup de main.//I need help. J'ai installé le grid control 10.2.0.1 sur une machine XP 32bits x86 et j'ai un pb pour démarrer mon serveur http. //I have installed grid control 10.2.0.1 on XP windows 32 b

  • Photoshop CS6 bugs + lagging ??

    My Photoshop CS6 is having problem, not really a big problem but it gets very irritating when especially on urgent work. Below is my Photoshop CS6 Problem: I have 4 buttons not listening to my order, maybe more but so far I only found 4. ( "B" for br