« Return to Thread: Problems with browser

Re: Problems with browser and memory usage

by Paolo-23 :: Rate this Message:

Reply to Author | View in Thread

I've tried an older release and it works fine. no crashes when browsing, so my
environment should not be the problem. Anyway, I attach the log file.

I've also noticed that LightZone only uses part of my memory. I have 1,5 Gig
on my system, but the log says:
Max Memory: 790822912
Total Memory: 5177344

When I start LightZone, if I remember well, it should automatically set itself
to use half of my pc's memory, but even after a preferences reset it
configures itself in order to only use 456 MB, that is less than one third of
total RAM.
I can change that by hand, but could it be it doesn't recognizes it properly?
Paolo


On Sunday 10 June 2007 23:50, Paolo wrote:

> HI, I've posted something about this already, but in the beginning I've
> probably underestimated the problem.
>
> It is quite simple, While browsing files in a folder or folders I get an
> internal error message. I am given a choice of quitting or continuing to
> use the program.
> If I choose to continue working the program hangs for a while, then I'm
> allowed to move to a different folder. Trying to browse the folder that
> caused the problem will cause it to happen again.
>
> If I ask to view the details about the error I get the files I'm attaching.
>
> If I just quit LightZone, on the next startup it will fail to start. On the
> second next time, it will realize something went wrong last time and will
> ask to reset my preferences.
>
> Editing works flawlessly. The problems with browser are annoying, though.
>
> Anybody else has problems with browsing?
> Thanks.
> Paolo
--
Paolo

[LightZone.log]

This is LightZone 2.4 (8167)
Verifica delle librerie in corso
Inizializzazione delle utilities del motore di elaborazione in corso
Max Memory: 790822912
Total Memory: 5177344
Running on 1 processors
Allocating -298MB for the image cache.
found sRGB IEC61966-2.1
Color compatibility mode is off
Caricamento delle classi in corso
Scansione dei profili di colore in corso
Ripristino delle preferenze in corso
Avvio Logging
Scansione dei files salvati in corso
Apertura...
Light Crafts JAI Library - 02/05/07
java.lang.RuntimeException: Errore di inizializzazione del Browser
        at com.lightcrafts.app.ComboFrame.initImages(ComboFrame.java:823)
        at com.lightcrafts.app.ComboFrame.showFolder(ComboFrame.java:336)
        at com.lightcrafts.app.ComboFrame.access$400(ComboFrame.java:59)
        at com.lightcrafts.app.ComboFrame$4.folderSelectionChanged(ComboFrame.java:282)
        at com.lightcrafts.ui.browser.folders.FolderSelectionDispatcher.notifyListeners(FolderSelectionDispatcher.java:48)
        at com.lightcrafts.ui.browser.folders.FolderSelectionDispatcher$1.valueChanged(FolderSelectionDispatcher.java:29)
        at javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(Unknown Source)
        at javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(Unknown Source)
        at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPaths(Unknown Source)
        at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPath(Unknown Source)
        at javax.swing.JTree.setSelectionPath(Unknown Source)
        at javax.swing.plaf.basic.BasicTreeUI.selectPathForEvent(Unknown Source)
        at javax.swing.plaf.basic.BasicTreeUI$Handler.handleSelection(Unknown Source)
        at javax.swing.plaf.basic.BasicTreeUI$Handler.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.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)
Caused by: java.lang.StackOverflowError
        at sun.nio.cs.UTF_8$Encoder.encodeArrayLoop(Unknown Source)
        at sun.nio.cs.UTF_8$Encoder.encodeLoop(Unknown Source)
        at java.nio.charset.CharsetEncoder.encode(Unknown Source)
        at java.lang.StringCoding$StringEncoder.encode(Unknown Source)
        at java.lang.StringCoding.encode(Unknown Source)
        at java.lang.String.getBytes(Unknown Source)
        at java.io.UnixFileSystem.getBooleanAttributes0(Native Method)
        at java.io.UnixFileSystem.getBooleanAttributes(Unknown Source)
        at java.io.File.exists(Unknown Source)
        at com.lightcrafts.utils.filecache.FileCache.contains(FileCache.java:71)
        at com.lightcrafts.ui.browser.model.ImageDatum.readRotateCache(ImageDatum.java:489)
        at com.lightcrafts.ui.browser.model.ImageDatum.getMetadata(ImageDatum.java:264)
        at com.lightcrafts.ui.browser.model.ImageDatumComparator.compare(ImageDatumComparator.java:90)
        at com.lightcrafts.ui.browser.model.ImageDatumComparator.compare(ImageDatumComparator.java:101)
        at com.lightcrafts.ui.browser.model.ImageDatumComparator.compare(ImageDatumComparator.java:101)
        at com.lightcrafts.ui.browser.model.ImageDatumComparator.compare(ImageDatumComparator.java:101)

(note: deleted many more lines, all the same)

        at com.lightcrafts.ui.browser.model.ImageDatumComparator.compare(ImageDatumComparator.java:101)
        at com.lightcrafts.ui.browser.model.ImageDatumComparator.compare(ImageDatumComparator.java:101)
EventThread blocked for 2,004 seconds
Error logging successful


_______________________________________________
LightZone mailing list
LightZone@...
http://kast-dev.com/mailman/listinfo/lightzone

 « Return to Thread: Problems with browser