• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Query on Virtual Memory

 
Ranch Hand
Posts: 342
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Processor:-Pentium-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

------------------
 
Ranch Hand
Posts: 356
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This thread might be of some help to u
http://www.javaranch.com/ubb/Forum1/HTML/002377.html
------------------
Shubhrajit
 
Ranch Hand
Posts: 388
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
the same post is in expert too..........do not crosspost. if one is interested in this he has to check all the groups for answers.
k
 
reply
    Bookmark Topic Watch Topic
  • New Topic