Results 1 to 2 of 2
- 01-26-2012, 07:54 PM #1
Application Memory Usage...
I have a question. The application that I am writing as a study guide for Amateur Radio Licensing Examination is only half or a little less than half finished. As of now, it consists of about 9991 lines of code including blank lines and comments. I have been writing the questions in "big" string arrays consisting of 2 columns each and as many rows as necessary to complete each array. There are 3 types of licenses. Technician, General and Extra. Each license exam consists of about 395 questions of which only 35 question of the 395 are used. And you don't know which questions are on the pool of tests that they might give you. Each one is different. So, you really can't rely on memorization and should study the concepts and understand them. Just like Java. "I only scratch the surface of Java." But, I love it. Anyway, the program as is is consuming about 99 MB of memory. When finished, it will probably consume twice that. I have 3 GB of RAM. Is an application that consumes approximately 200 MB of memory considered a "memory hog?" Should I rewrite this application and read the questions in from a random access file?
Thanks in Advance,
Re: Application Memory Usage...
Myself, I'd use a database, not a random access file.
- By bmelloni in forum Advanced JavaReplies: 0Last Post: 09-13-2011, 09:47 PM
- By CuddlyKittens11 in forum Advanced JavaReplies: 6Last Post: 04-27-2011, 08:53 PM
- By Moon_E in forum New To JavaReplies: 20Last Post: 07-09-2010, 11:53 PM
- By arnab321 in forum New To JavaReplies: 2Last Post: 12-07-2008, 07:13 PM
- By lardum in forum New To JavaReplies: 7Last Post: 06-26-2008, 04:30 AM