Goombert
|
|
Reply #15 Posted on: June 18, 2014, 02:47:18 pm |
|
|
Location: Cappuccino, CA Joined: Jan 2013
Posts: 2993
|
I often get those errors without ever invoking the plugin. Sometimes by simply hitting save and getting "out of memory cannot create new thread" type. So since it was already established that it's weird or unknown I never bothered posting new logs. Those would not occur if we had a 64bit version of ENIGMA that was compliant with the 64bit JVM. But we don't because it is a huge pain in the ass to maintain two Portable ZIP's. If someone wants to get one working with a 64bit Java and setup the 64bit mingw etc. Be my guest. I get crashes and frustrations on projects a few Ks in size lol. I don't even have to load a single sprite ! Just by working with scripts and code and often run/testing, going back to edit, run/test, etc after a certain number of cycles BAM I get the retarded errors. And in worse cases the shit just closes completely without warning and without any intervention. taking the EGM file along with it, completely gone. Luckily the backup file is still there. There is not one bloody time I could complete a LGM session without having to restart it. We wouldn't have any of these problems if we developed a CLI like GM and everything else uses because we wouldn't need JNA, we should send terminal options to our CLI programs. Are you using the latest 1.3? They did some changes to the IDE, audio assets are not pre-loaded at IDE launch as it was before. Perhaps what you are noticing is some of the optimisations they have done lately to the IDE. The fact it takes the same amount of time could mean they are just slow by nature or they are doing something else. In theory they have done this for faster loading of projects and lower memory usage. Well when I ran tests before I had it where TKG's games would open instantly. So if we did the optimizations we would kick their IDE's ass. Yeah but how do you explain the crashes I get on a program without anything loaded. Be it a 100MB or 1KB project I would get he same unstable behaviour and it happens rather quickly. I don't think I am consuming even close to 1GB reserved space that quickly, not even a fraction of a fraction of that. Since the issue is persistent and can be reproduced so easily, I will post yet again a log.......nothing has changed though JNA who knows, the whole backend is a mess. Would be way better to do away with it and just utilize a CLI.
|
|
|
Logged
|
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.
|
|
|
Darkstar2
|
|
Reply #16 Posted on: June 18, 2014, 02:57:47 pm |
|
|
Joined: Jan 2014
Posts: 1238
|
Well for now I will open 2 instances, 1 through enigma and 1 straight from lateralgm.jar. So far I did it and it works. I work on my project in LGM, save it, load and test it on the other side which has the plugin. I have yet to see if this works out long run or if the crashing will take down both instances running. Perhaps a CLI and having that called from inside LGM where only the EGM itself would be passed ? but wouldn't that require you saving your project every time before run/testing it ?
|
|
|
Logged
|
|
|
|
Goombert
|
|
Reply #17 Posted on: June 18, 2014, 03:11:50 pm |
|
|
Location: Cappuccino, CA Joined: Jan 2013
Posts: 2993
|
Only saving things that you've changed Darkstar2, if you haven't changed anything it just passes the file, or rather the path, it won't even bother with the copying the file, just pass the file location to the CLI and the project will get built. If you open it and edit a sprite then LGM will save that sprite before passing the file path over.
|
|
|
Logged
|
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.
|
|
|
|
time-killer-games
|
|
Reply #19 Posted on: June 18, 2014, 05:01:51 pm |
|
|
"Guest"
|
How can I use the command terminal outside of LGM to compile my source on Linux? This should be added to a much more clear section of the wiki. I can't find it.
Edit:
I tried setting the max from 1000 to 2000, 2500, 2600, 2700, 2800, 2900, 3000, and 4000. Anything above 2600 for me will result in lgm refusing to start, crashing before it opens it seems based on the terminal and output log. 2600 and everything below will result in lgm crashing in the midst of compilation. I really need to compile without lgm ortherwise lgm will just crash every time which is useless.
@Darkstar so it crashes and refuses to start for you on anything above 1000 that's so weird it works differently for me. It does that for me when I hit above 2600. Really odd. I assume it's due to our difference in hardware, but it still doesn't make sense to me why that would make this much a difference.
|
|
« Last Edit: June 18, 2014, 05:12:06 pm by time-killer-games »
|
Logged
|
|
|
|
|
Goombert
|
|
Reply #21 Posted on: June 18, 2014, 08:02:47 pm |
|
|
Location: Cappuccino, CA Joined: Jan 2013
Posts: 2993
|
It sounds like he's on Linux. TKG there is currently no way to compile outside of the IDE I'm afraid, that's the CLI that I was talking about, which would also make LGM run faster/compile faster/better and use less memory.
|
|
|
Logged
|
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.
|
|
|
time-killer-games
|
|
Reply #22 Posted on: June 18, 2014, 10:17:43 pm |
|
|
"Guest"
|
Yes, I'm running Ubuntu through virtual box for windows. On the downloads page and wiki it says ENIGMA may either be used through the IDE *or* the command line, if this is really not so you guys should mention the unfortunate update.
Thanks anyways, well, I'm screwed. That's too bad.
|
|
« Last Edit: June 18, 2014, 10:23:11 pm by time-killer-games »
|
Logged
|
|
|
|
Darkstar2
|
|
Reply #23 Posted on: June 18, 2014, 10:57:44 pm |
|
|
Joined: Jan 2014
Posts: 1238
|
Here is a crash I just experienced and log of this ass fuck bug : A tiny project, this is fucking annoying to say the least: Operating System: Windows 7 Version: 6.1 Architecture: x86
Java Vendor: Oracle Corporation Version: 1.7.0_55
Available processors (cores): 4 Free memory (bytes): 659878592 Maximum memory (bytes): 1013645312 Total memory available to JVM (bytes): 1013645312
Stack trace: java.lang.OutOfMemoryError: unable to create new native thread at java.lang.Thread.start0(Native Method) at java.lang.Thread.start(Unknown Source) at java.util.Timer.<init>(Unknown Source) at java.util.Timer.<init>(Unknown Source) at org.lateralgm.joshedit.JoshText$MouseAutoScroll.<init>(JoshText.java:1165) at org.lateralgm.joshedit.JoshText.<init>(JoshText.java:1206) at org.lateralgm.joshedit.JoshTextPanel.<init>(JoshTextPanel.java:51) at org.lateralgm.joshedit.JoshTextPanel.<init>(JoshTextPanel.java:44) at org.lateralgm.joshedit.JoshTextPanel.<init>(JoshTextPanel.java:39) at org.lateralgm.components.CodeTextArea.<init>(CodeTextArea.java:120) at org.lateralgm.subframes.ActionFrame.<init>(ActionFrame.java:172) at org.lateralgm.subframes.ActionFrame.<init>(ActionFrame.java:89) at org.lateralgm.components.ActionList.openActionFrame(ActionList.java:208) at org.lateralgm.subframes.GmObjectFrame.editSelectedEvent(GmObjectFrame.java:935) at org.lateralgm.subframes.GmObjectFrame.access$2(GmObjectFrame.java:909) at org.lateralgm.subframes.GmObjectFrame$2.mousePressed(GmObjectFrame.java:795) at java.awt.AWTEventMulticaster.mousePressed(Unknown Source) at java.awt.AWTEventMulticaster.mousePressed(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$200(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)
What the fuck !!!! out of memory this is a small project, only 4 tiny gay sprites 1 script, 4 objects, and a few lines of code. This is highly retarded ! From this point on I can't do anything, no matter what I press. So I have to close LGM and restart. More so my motherfucker of a project was all corrupted. Oh it loads alright, all objects are there but all code was blanked the fuck out !!!!!!! Seriously I think it is a big mistake to be featured on indie db and other sites, personally I can work around this cluster ass fuck of a problem but anybody who's too new to this won't and they will rip ENIGMA and it will be an embarrassment - if this was my project I would never expose it with such problems Even the backup was corrupted so I lost the DX9 test I was going to send you, tough luck I don't feel like starting over not tonight anyway. I think I might have uncovered some other problem seems LGM does not save properly !!!! How the fuck did my project end up being saved with all the object name, sprites, rapings, etc. but all the code inside objects gone ! What happened !?
|
|
« Last Edit: June 18, 2014, 11:07:57 pm by Darkstar2 »
|
Logged
|
|
|
|
Goombert
|
|
Reply #24 Posted on: June 18, 2014, 11:05:51 pm |
|
|
Location: Cappuccino, CA Joined: Jan 2013
Posts: 2993
|
What? what game are we talking about? I don't have that file, and that should no be occurring. If I can get the file I can tell you what's going on. Edit: Wait a minute, that's not an out of memory error at all, that's the JVM being retarded. As you can clearly see there is several gigabytes of free memory remaining. Free memory (bytes): 659878592
|
|
|
Logged
|
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.
|
|
|
|
Goombert
|
|
Reply #26 Posted on: June 19, 2014, 12:02:30 am |
|
|
Location: Cappuccino, CA Joined: Jan 2013
Posts: 2993
|
Ugh, I hate to say it, but I have to be able to reproduce it to fix it. The random crashes have completely stopped for me though with the new error dialog, I haven't had LGM crash out on me completely since the last major release. I want to fix these issues for you so please try to find ways of getting me to be able to find them in the code and fix them, as hard as it may be, try narrowing down what causes the crash. I have a theory it could be frequent saving since I added threading, perhaps the threads aren't being properly closed or something? Edit: Aha! I just reproduced one. As you can see I clearly had plenty of free memory too. It looks like saving blank sprites/backgrounds to an EGM is causing a crash. The error does not occur with GMX or GMK. Edit 2: Your error is occurring in JoshText btw it is not an LGM issue. JoshText is a syntax highlighting text editor component for Java that is Open Source and customizable written by none other Josh. Please visit Josh's tracker and file a bug report on it because it is throwing an exception in a part of JoshText that I never changed. https://github.com/JoshDreamland/JoshEditThis is the line your error occurred on. I never touched anything related to the auto scroll. https://github.com/IsmAvatar/LateralGM/blob/master/org/lateralgm/joshedit/JoshText.java#L1165
|
|
« Last Edit: June 19, 2014, 12:15:38 am by Robert B Colton »
|
Logged
|
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.
|
|
|
Darkstar2
|
|
Reply #27 Posted on: June 19, 2014, 12:24:40 am |
|
|
Joined: Jan 2014
Posts: 1238
|
Yes that I knew saving empty resources. But I know better and I don't save a project with empty sprites or background, in my case it happens at random. Sometimes I do nothing and LGM closes and vanishes without error. I'm re-writing LGM in pure ASM. ....kidding, in case you actually believe me but I was going to send you the DX9 demo but sorry you will have to wait until tomorrow as I lost everything!!! But hey I still will continue working with EGM, will try to find some alternate way though as LGM is the only IDE I can use as most of my projects are non GM compatible anyway.
|
|
« Last Edit: June 19, 2014, 12:26:54 am by Darkstar2 »
|
Logged
|
|
|
|
|
|
|