The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.

When i run the Program, the CPU usage become very high

Hi!
I have written a program in Java, but when i run it the CPU usage become very high, if it run in a slow CPU computer, then the Computer become very very slow, why it is like this....Please tell me the reason
Thank You!

Re: When i run the Program, the CPU usage become very high

Thank you for you reply!
The code which has this problem is very long about 3000 lines in many classes, i will tell you the design which i have done, it like this: I have written one ATM System in three Languages, if i run only in one Language the problem is not very big, if run it in three Languages then the CPU usage goes to 100, the Computer become very slow, even it not working normally.... the code which i collected three languages in one frame i can post it：