AMC block lag?

    Joined
    Oct 7, 2013
    Messages
    9
    Reaction score
    0
    I have a 3mil+ block ship I've been working on, zero lag except for a few seconds at startup, but when I manually added a few thousand AMCs in a checkerboard pattern it started to have micro freezes that grew in frequency and duration the more blocks I placed. Now I can't even load the ship. Going by the rate the block count goes up when I log in it would take days for the whole ship to load. I figure this is a bug because those blocks are a drop in the bucket compared to what I had placed before.

    I tried upping the memory but that didn't help. Neither did changing graphics settings. Hopefully this is fixable because I can't play or do much of anything at the moment.

    Edit* Went back and tried again, now the ship loads fine. No micro stutter either until I start placing AMCs again. Java memory leak maybe?

    Edit2*
    Tried updating java. Didn't help. Game is back to not loading the ship. No idea what's going on.

    Edit3*
    I managed to get out of view of the ship (flying at 1 fps.) Ran around for awhile and eventually came back to the ship and got it to load normally. I still ran into the slow downs finishing the cannons but I was so close to being done I pulled it off before it got too bad. Flew the ship out of that sector and now it's lag free, though I dread working on the second row of cannons. No idea what the problem is but it feels like memory issue.

    Edit4*
    Yeah it's definetly AMC block related. I deleted 200k power blocks and it still won't load right like it did before the AMC blocks.
     
    Joined
    Aug 16, 2013
    Messages
    4
    Reaction score
    0
    • Legacy Citizen
    Simple repro:

    • Create new core
    • Add one million AMC to the core
    • Add one weapon computer
    • \'c\' the computer and \'shift-v\' the AMCs

    Result:

    • The client hangs (not responding) for a while and either disconnects or crashes.
    • If the client crashes and you try to reconnect the AMCs to the computer before all 1mil blocks are loaded, a void pointer exception is thrown and the client crashes.
    • If you have the misfortune to successfully connect all the AMCs, then don\'t relog. The client hangs while the sector loads and you are disconnected before it does.. every time.
     
    Joined
    Oct 7, 2013
    Messages
    9
    Reaction score
    0
    I have found a work around that works 65% of the time. If I warp to another sector, restart, come back, and approach the ship slowly and stop in an adjacent sector, but in visible range, it will load normally with only a few long pauses. But it\'s tough getting away from the ship the first time around at 1 FPS. I\'ve only got about 21k AMCs on it but I may need to delete them to do any other work on it.

    Edit*
    So I updated, loaded in but minus the core. I left and came back to it later and now it says it belongs to another faction and my access door is gone. Really confused at this point.

    Edit*
    Nvm it was just the mirage of my ship. Did I mention there\'s a mirror copy of my ship floating around out there? It disppears most times but this time I got right on it. Not sure why it doesn\'t have the same access port as the real ship.

    Edit*
    Ok I think the ghost might have something to do with my saving the ship blueprint in the editor, because I also get lag when I drift into this pirate base when I\'m trying to get away from my ship, I brought up the nav menu and some of the pirates had the same name as the ship, so it was trying to load up millions and millions of blocks at once. I deleted the blueprint but the lag in that area didn\'t improve and it\'s so bad it ignores the change sector command and boots me. Thuroughly stuck at this point.

    Edit*
    For now I\'ve got it loading normally. I went into the server entity folder and deleted all the mobs using the ship and things are running much better. Idk if that helps the AMC placement lag or not because it already lags the game when it fires so I\'m not going to add anymore.