

InterviewSolution
1. |
Solve : viewing large file? |
Answer» hello all, Maximum file size 2147483647 bytes (2 Gbyte) when a long integer isDear All, there's an OpenSource project allowing the display of large files. It is written in Java language: you can find it at http://sourceforge.net/projects/largefileviewer/ There's a user manual. I tried it with a 1.8GB text file WITHOUT any problem but you have to use parameter -XmxMEMORY_SIZEm when you launch the program. For INSTANCE: java -Xmx700m -jar LargeFileViewer.jar BigFile.txt I never tried with a 4GB file size, in this case the -Xmx700m must be replaced by a bigger value. I heard about some limitations with the JVM heap space (2GB, but must be checked). Hope this will help you. Best Regards. gosh, Java. now i wait for the program to startup, while i sip coffee. |
|