Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have a Java application which is loaded and cached by the JRE and for most users it only needs to cache once unless the application software has changed.

However, I have one computer that caches the entire application every time they load it. It is not the version of the JRE, I have that running on other machines. It also works on this machine if logged in as a local admin, just not as a standard user.

Does anybody have any ideas on what might be causing this?

share|improve this question
    
I assume we're talking about a JNLP/Web Start application and not a local one? –  Brian Knoblauch Jul 22 '10 at 13:43

1 Answer 1

I'm not quite sure what you mean by "caching the application". Do you mean loading it into memory? That is how a normal JVM works. Are you trying to flush heap memory? Can you provide more detail on what exactly you mean?

share|improve this answer
    
Not quite - the application is downloaded from the server and cached onto disk but if the application hasn't changed then it shouldn't be downloaded every time the application is started. Nothing to do with how the JVM handles memory once the app is started. –  David Neale Apr 27 '10 at 13:55
    
How are you caching it? Are you just downloading compiled source from a central server to networked machines to be stored temporarily on their hard disks? –  Melvin Apr 27 '10 at 14:10
    
Essentially yes, it is pulled down and persists on the hard disk so long as there isn't a new version deployed - I believe this is normal JRE behaviour. –  David Neale Apr 30 '10 at 16:56

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.