Jack Sparrow
February 27th, 2006, 04:20 PM
Hi,
I'm pretty much of a newbie to Java,in the sense I've just about finished learning all the programming theory and now is the time I need to practise to get a feel of it(I used to do C++ till now). My friends and I was working on this little program that needs to process a 6x6 matrix. Now as soon as the application crosses 3MB of memory space(I checked in Win task manager) we get an error saying something about the app being out for heap space.
Maybe this is because we are just compiling the java file and running it as a console app( javac xxx.java then java xxx)? Does the JVM have a say in the mem usage of an app? Is there any way to work past this little problem besides altering our code so that mem usage remains minimal?
Right now we are using JCreatorPro as our IDE, I'd be happy to hear about any better ones from your own experience!
And while this isn't exactly a Java query...I was thinking of developing a User Interface for an app which will have Java running as a back end. Trouble is I don't know s***t about developing UIs! Could anyone give any suggesions?
Thanks a lot for your time
I'm pretty much of a newbie to Java,in the sense I've just about finished learning all the programming theory and now is the time I need to practise to get a feel of it(I used to do C++ till now). My friends and I was working on this little program that needs to process a 6x6 matrix. Now as soon as the application crosses 3MB of memory space(I checked in Win task manager) we get an error saying something about the app being out for heap space.
Maybe this is because we are just compiling the java file and running it as a console app( javac xxx.java then java xxx)? Does the JVM have a say in the mem usage of an app? Is there any way to work past this little problem besides altering our code so that mem usage remains minimal?
Right now we are using JCreatorPro as our IDE, I'd be happy to hear about any better ones from your own experience!
And while this isn't exactly a Java query...I was thinking of developing a User Interface for an app which will have Java running as a back end. Trouble is I don't know s***t about developing UIs! Could anyone give any suggesions?
Thanks a lot for your time