[LDPartEditor] 0.8.5 Beta Released


Re: [LDPartEditor] 0.8.5 Beta Released
#35
Got a hang-up today... Was working on a moderate size part (21269 hair piece, about 3000 LDraw lines). Hit undo then no answer from LDPE. I finally killed the application, looked at the log file. It appears that it was a heap overflow, see below (I'm on a 4GB memory/32bit XP machine).

Worse: now when I open the file again and try to work on it, LDPE freezes again for a loooong time, then throws this enigmatic message: "Registered 0 new file(s) Deleted 0 file(s) Detected 0 unsaved file(s). They are opened with LDPE but another version (older or newer) is stored on the HD or the original file was deleted from HD". If I press OK and try to work on part again, the same behaviour starts again. I tried to close LDPE and start again, same problem. I even restarted computer, no way!!! Sad
I tried to rename the part file, same problem. Removed header from file, finally was able to edit file again. Phew!

(edit) One might say I'm always ranting, but I must say that LDPE is a very nice tool to adjust shape around minifig head, fit stud primitive or tune lines/condlines (result here http://www.ldraw.org/cgi-bin/ptdetail.cg.../21269.dat). Once the most salient bugs are ironed out it will be a really great tool! Might benefit of some speed optimisations too Wink

log file excerpt:
Code:
org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.OutOfMemoryError: Java heap space)
    at org.eclipse.swt.SWT.error(Unknown Source)
    at org.eclipse.swt.SWT.error(Unknown Source)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Unknown Source)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Unknown Source)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
    at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
    at org.eclipse.jface.window.Window.open(Window.java:801)
    at org.nschmidt.ldparteditor.shells.editor3d.Editor3DWindow.run(Editor3DWindow.java:4920)
    at org.nschmidt.ldparteditor.splash.SplashScreen.run(SplashScreen.java:298)
    at org.nschmidt.ldparteditor.main.LDPartEditor.main(LDPartEditor.java:39)
Caused by: java.lang.OutOfMemoryError: Java heap space
    at java.util.Arrays.copyOfRange(Unknown Source)
    at java.lang.String.<init>(Unknown Source)
    at org.eclipse.swt.custom.DefaultContent.getTextRange(Unknown Source)
    at org.eclipse.swt.custom.StyledText.getText(Unknown Source)
    at org.nschmidt.ldparteditor.data.DatFile.parseForError(DatFile.java:640)
    at org.nschmidt.ldparteditor.composites.compositetab.CompositeTab$4.modifyText(CompositeTab.java:648)
    at org.eclipse.swt.custom.StyledTextListener.handleEvent(Unknown Source)
    at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
    at org.eclipse.swt.widgets.Display.sendEvent(Unknown Source)
    at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
    at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
    at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
    at org.eclipse.swt.widgets.Widget.notifyListeners(Unknown Source)
    at org.eclipse.swt.custom.StyledText.setText(Unknown Source)
    at org.nschmidt.ldparteditor.data.VM00Base$1$1.run(VM00Base.java:262)
    at org.eclipse.swt.widgets.RunnableLock.run(Unknown Source)
    ... 8 more
Exception in thread "Thread-6" java.lang.OutOfMemoryError: Java heap space
    at java.lang.String.toCharArray(Unknown Source)
    at org.nschmidt.ldparteditor.text.StringHelper.compress(StringHelper.java:82)
    at org.nschmidt.ldparteditor.data.HistoryManager$1.run(HistoryManager.java:110)
    at java.lang.Thread.run(Unknown Source)
Reply
« Next Oldest | Next Newest »



Messages In This Thread
Focus issues... - by Nils Schmidt - 2016-03-08, 16:23
Re: [LDPartEditor] 0.8.5 Beta Released - by Philippe Hurbain - 2016-03-15, 10:50

Forum Jump:


Users browsing this thread: 2 Guest(s)