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