wood burning stoves*
The moose likes Servlets and the fly likes Query on Virtual Memory Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Query on Virtual Memory" Watch "Query on Virtual Memory" New topic
Author

Query on Virtual Memory

Bikash Paul
Ranch Hand

Joined: Dec 04, 2001
Posts: 342
Hi,
Iam facing with one problem I can upload file upto 40mb by running my swing interface(java -Xmx256m ActionDemo4).If I select above 40mb size of file then it giving me Error on Dos-Prompt(java.lang.OutOfMemory).Now I increase jvm memory by
(-Xmx540m)then my swing Interface run perfectly but when I select file size above 40mb then my machine hanged(Then It is not giving me Error on Dos-prompt) and giving me Error by system[your system running on low virtual machine.Plz close some application or add additional paging file or increase size of paging file of virtual memory]. My machine spesification:-
Operating system:-winNT4.0(Service Pack4.0)
Ram:-256mb
Processorentium-3
Hard-disk:-20GB
I try to configure my machine like that:-
Settings-Control Panel-System-Performance-VirtualMemory:-I changed in
1.Paging File size for selected Drive:-
Drive C:
Space Available: 834MB
Initial Size: 256MB
Maximum Size: 306MB
Drive D:
Space Available: 7870MB
Initial Size: 14MB
Maximum Size: 14MB
2.Total paging file for all Drives:-
Minimum Allocated: 2MB
Recommened: 267MB
Currently Allocated: 270MB
3.Registry Size:-
Current Registry Size: 13MB
Maximum Registry size: 60MB
But I couldn't slove my Problem.Plz Guide me How I can slove my problem.Excepting Quick Reply.
With Best Regards
Bikash

------------------
 
jQuery in Action, 2nd edition
 
subject: Query on Virtual Memory
 
Similar Threads
Problem to run Oracle9i after installed in Windows2000 professional?
Query on Virtual Memory
ANT Out of Memmory problem
Tomcat Problem...
Query on Virtual Memory