Page 1 of 1

Slow Resource Loading

PostPosted: Mon Nov 19, 2012 11:06 pm
by loftar
Split from screenshot thread. Screenshot in question can be viewed here.


MvGulik wrote:Hmm. Think 5+ minutes should be plenty for loading important stuff.

Judging from the HTTP logs, you seem to be having some more general problems with resource loading. Your client seems to be loading everything over HTTP, which makes it seem like it hasn't got the resource Jars. It also seems to be trying to load every resource thrice, which... it shouldn't do. :)

Aren't you just running the client in some generally weird way? :)

Re: Screen shots of Salem

PostPosted: Tue Nov 20, 2012 1:00 am
by MvGulik
Mmm. I'm experimenting a bit with Commandline (-D...) options (Ender, with local installed game files). But also tried the vanilla client (normal startup), which did not seemed to load anything other than the ground.

If its something local to me, It seems not limited to one client.
Will try some default startup's to see if it matters. (Vanilla & Ender)(BDclient errors out for me at the moment)

Re: Screen shots of Salem

PostPosted: Tue Nov 20, 2012 2:22 am
by MvGulik
Tried salem.jnlp & salem-lomem.jnlp. (freshly downloaded. No real change though.)
For both, after 5min - no character items. (some tree types, deer, Lean-to, ...)
- restarted network and computer stuff, cleared java cache. And tried again ...
For both: no change. :?:
I'm I still triple loading res files ?

Next on todo list: full Uninstall and Re-install of Java. Other than that I'm out of idea's.

Console messages dump, just in case.
Code: Select all
Java Web Start 10.9.2.05
Using JRE version 1.7.0_09-b05 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\<me>
----------------------------------------------------
c:   clear console window
f:   finalize objects on finalization queue
g:   garbage collect
h:   display this help message
m:   print memory usage
o:   trigger logging
p:   reload proxy configuration
q:   hide console
r:   reload policy configuration
s:   dump system and deployment properties
t:   dump thread list
v:   dump thread stack
0-5: set trace level to <n>
----------------------------------------------------
   Match: beginTraversal
Match: digest selected JREDesc: JREDesc[version 1.6+, heap=-1-536870912, args=null, href=null, sel=false, null, null], JREInfo: JREInfo for index 0:
    platform is: 1.7
    product is: 1.7.0_09
    location is: http://java.sun.com/products/autodl/j2se
    path is: C:\Program Files\Java\jre7\bin\javaw.exe
    args is: null
    native platform is: Windows, x86 [ x86, 32bit ]
    JavaFX runtime is: JavaFX 2.2.3 found at C:\Program Files\Java\jre7\
    enabled is: true
    registered is: true
    system is: true

   Match: selecting maxHeap: 536870912
   Match: ignoring InitHeap: -1
   Match: digesting vmargs: null
   Match: digested vmargs: [JVMParameters: isSecure: true, args: ]
   Match: JVM args after accumulation: [JVMParameters: isSecure: true, args: ]
   Match: digest LaunchDesc: http://plymouth.seatribe.se/java/salem.jnlp
   Match: digest properties: [-Dhaven.errorurl=http://plymouth.seatribe.se/java/error, -Dhaven.defserv=plymouth.seatribe.se, -Dhaven.resurl=http://plymouth.seatribe.se/res/, -Dhaven.storeurl=http://services.paradoxplaza.com/adam/storelette/salem]
   Match: JVM args: [JVMParameters: isSecure: false, args: -Dhaven.errorurl=http://plymouth.seatribe.se/java/error -Dhaven.defserv=plymouth.seatribe.se -Dhaven.resurl=http://plymouth.seatribe.se/res/ -Dhaven.storeurl=http://services.paradoxplaza.com/adam/storelette/salem]
   Match: digest LaunchDesc: http://plymouth.seatribe.se/java/salem-res.jnlp
   Match: digest properties: []
   Match: JVM args: [JVMParameters: isSecure: false, args: -Dhaven.errorurl=http://plymouth.seatribe.se/java/error -Dhaven.defserv=plymouth.seatribe.se -Dhaven.resurl=http://plymouth.seatribe.se/res/ -Dhaven.storeurl=http://services.paradoxplaza.com/adam/storelette/salem]
   Match: digest LaunchDesc: http://plymouth.seatribe.se/java/jogl/jogl.jnlp
   Match: digest properties: []
   Match: JVM args: [JVMParameters: isSecure: false, args: -Dhaven.errorurl=http://plymouth.seatribe.se/java/error -Dhaven.defserv=plymouth.seatribe.se -Dhaven.resurl=http://plymouth.seatribe.se/res/ -Dhaven.storeurl=http://services.paradoxplaza.com/adam/storelette/salem]
   Match: digest LaunchDesc: http://plymouth.seatribe.se/java/jogl/gluegen-rt.jnlp
   Match: digest properties: []
   Match: JVM args: [JVMParameters: isSecure: false, args: -Dhaven.errorurl=http://plymouth.seatribe.se/java/error -Dhaven.defserv=plymouth.seatribe.se -Dhaven.resurl=http://plymouth.seatribe.se/res/ -Dhaven.storeurl=http://services.paradoxplaza.com/adam/storelette/salem]
   Match: endTraversal ..
   Match: JVM args final: -Xmx512m -Dhaven.errorurl=http://plymouth.seatribe.se/java/error -Dhaven.defserv=plymouth.seatribe.se -Dhaven.resurl=http://plymouth.seatribe.se/res/ -Dhaven.storeurl=http://services.paradoxplaza.com/adam/storelette/salem
   Match: Running JREInfo Version    match: 1.7.0.09 == 1.7.0.09
    Match: Running JVM args match the secure subset: have:<-Xmx512m>  satisfy want:<-Xmx512m -Dhaven.errorurl=http://plymouth.seatribe.se/java/error -Dhaven.defserv=plymouth.seatribe.se -Dhaven.resurl=http://plymouth.seatribe.se/res/ -Dhaven.storeurl=http://services.paradoxplaza.com/adam/storelette/salem>
   Match: beginTraversal
Match: digest selected JREDesc: JREDesc[version 0+, heap=-1--1, args=null, href=null, sel=false, com.sun.javaws.jnl.ResourcesDesc@10bfedd, null], JREInfo: JREInfo for index 0:
    platform is: 1.7
    product is: 1.7.0_09
    location is: http://java.sun.com/products/autodl/j2se
    path is: C:\Program Files\Java\jre7\bin\javaw.exe
    args is: null
    native platform is: Windows, x86 [ x86, 32bit ]
    JavaFX runtime is: JavaFX 2.2.3 found at C:\Program Files\Java\jre7\
    enabled is: true
    registered is: true
    system is: true

   Match: ignoring maxHeap: -1
   Match: ignoring InitHeap: -1
   Match: digesting vmargs: null
   Match: digested vmargs: [JVMParameters: isSecure: true, args: ]
   Match: JVM args after accumulation: [JVMParameters: isSecure: true, args: ]
   Match: digest LaunchDesc: http://plymouth.seatribe.se/java/salem-res.jnlp
   Match: digest properties: []
   Match: JVM args: [JVMParameters: isSecure: true, args: ]
   Match: endTraversal ..
   Match: JVM args final:
   Match: Running JREInfo Version    match: 1.7.0.09 == 1.7.0.09
    Match: Running JVM args match: have:<-Xmx512m>  satisfy want:<>
   Match: beginTraversal
Match: digest selected JREDesc: JREDesc[version 0+, heap=-1--1, args=null, href=null, sel=false, com.sun.javaws.jnl.ResourcesDesc@1837603, null], JREInfo: JREInfo for index 0:
    platform is: 1.7
    product is: 1.7.0_09
    location is: http://java.sun.com/products/autodl/j2se
    path is: C:\Program Files\Java\jre7\bin\javaw.exe
    args is: null
    native platform is: Windows, x86 [ x86, 32bit ]
    JavaFX runtime is: JavaFX 2.2.3 found at C:\Program Files\Java\jre7\
    enabled is: true
    registered is: true
    system is: true

   Match: ignoring maxHeap: -1
   Match: ignoring InitHeap: -1
   Match: digesting vmargs: null
   Match: digested vmargs: [JVMParameters: isSecure: true, args: ]
   Match: JVM args after accumulation: [JVMParameters: isSecure: true, args: ]
   Match: digest LaunchDesc: http://plymouth.seatribe.se/java/jogl/jogl.jnlp
   Match: digest properties: []
   Match: JVM args: [JVMParameters: isSecure: true, args: ]
   Match: digest LaunchDesc: http://plymouth.seatribe.se/java/jogl/gluegen-rt.jnlp
   Match: digest properties: []
   Match: JVM args: [JVMParameters: isSecure: true, args: ]
   Match: endTraversal ..
   Match: JVM args final:
   Match: Running JREInfo Version    match: 1.7.0.09 == 1.7.0.09
    Match: Running JVM args match: have:<-Xmx512m>  satisfy want:<>
   Match: beginTraversal
Match: digest selected JREDesc: JREDesc[version 0+, heap=-1--1, args=null, href=null, sel=false, com.sun.javaws.jnl.ResourcesDesc@8270d7, null], JREInfo: JREInfo for index 0:
    platform is: 1.7
    product is: 1.7.0_09
    location is: http://java.sun.com/products/autodl/j2se
    path is: C:\Program Files\Java\jre7\bin\javaw.exe
    args is: null
    native platform is: Windows, x86 [ x86, 32bit ]
    JavaFX runtime is: JavaFX 2.2.3 found at C:\Program Files\Java\jre7\
    enabled is: true
    registered is: true
    system is: true

   Match: ignoring maxHeap: -1
   Match: ignoring InitHeap: -1
   Match: digesting vmargs: null
   Match: digested vmargs: [JVMParameters: isSecure: true, args: ]
   Match: JVM args after accumulation: [JVMParameters: isSecure: true, args: ]
   Match: digest LaunchDesc: http://plymouth.seatribe.se/java/jogl/gluegen-rt.jnlp
   Match: digest properties: []
   Match: JVM args: [JVMParameters: isSecure: true, args: ]
   Match: endTraversal ..
   Match: JVM args final:
   Match: Running JREInfo Version    match: 1.7.0.09 == 1.7.0.09
    Match: Running JVM args match: have:<-Xmx512m>  satisfy want:<>
JNLPClassLoader: Finding library jogl.dll
JNLPClassLoader: Finding library jawt.dll
JNLPClassLoader: Finding library jogl_awt.dll

Re: Screen shots of Salem

PostPosted: Tue Nov 20, 2012 2:31 am
by loftar
MvGulik wrote:I'm I still triple loading res files ?

Well, no, and the session you had recently now did not attempt to load the resources that should be in the Jar files, so it definitely worked better, but there's still something weird about it; for every resources, it is, for some reason, trying to load the resource by its URL appended with ".pack.gz", and only after that fails does it try to load it properly. I have no clue why it would do something like that.

Either way, it seems to have succeeded in loading the resources it requested, which makes it quite weird that it doesn't display those objects.

Also, it is still at least a bit weird that it tries to load those resources at all, because they should have been cached since previous sessions.

Re: Slow Resource Loading

PostPosted: Tue Nov 20, 2012 4:19 am
by MvGulik
Last two tries where with AVast-AV shields(all) disabled. This made a significant difference in speed. But did that also change that ".pack.gz" issue?

... off to bed ...

Re: Slow Resource Loading

PostPosted: Tue Nov 20, 2012 6:41 pm
by MvGulik
Running around with a new character (and some already pre-loaded cache files). I did run into the fact that some resources, that did show up in the menu, just did not load as usable item in the inventory (big question mark). By switching character, to same character, did they show up in the inventory.

Odd, Ender client this time btw.

Re: Slow Resource Loading

PostPosted: Tue Nov 20, 2012 8:03 pm
by loftar
MvGulik wrote:Last two tries where with AVast-AV shields(all) disabled. This made a significant difference in speed. But did that also change that ".pack.gz" issue?

It did not seem to have done so at the time, but your later session today did not download any ".pack.gz" files.

I am a bit confounded. :)

Re: Slow Resource Loading

PostPosted: Tue Nov 20, 2012 8:53 pm
by MvGulik
loftar wrote:It did not seem to have done so at the time

Ok. Thanks
Will try to find a tool so I can check this myself.

your later session today did not download any ".pack.gz" files.

Aha. So probably a other local problem. Bummer.

Thanks so far.