469,270 Members | 1,786 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,270 developers. It's quick & easy.

Memory increasing with heavy load

We are experiencing a problem running MySql 5 whereby under heavy load(with 2 connection and getting raw data from two or three table by a common java task that is running as infinite loop ), memory usage just continues to grow until it exceeds 2Gb and starts the machine swapping.

I also closing all resultset, statement and preparestatement in finally block and after that making it as null. But i could not find any solution.

Here are some vital statistics of our usage:

jdbc driver: mysql-connector-java-5.0.4-bin.jar
os: winXp 32 bit
mysql: mysql 5.0.18
We have approximately 2 connections being opened using snaq connection pool. version 4.8.
Jan 15 '07 #1
1 1206
ronverdonk
4,258 Expert 4TB
Are you running a lot of transactions? These cost a lot of storage.

Another reason could be the Java task. Since it is running in an infinite loop it would accumulate a lot of storage, used or unused (un-released). I would certainly have a look at this side of the system.
Ronald :cool:
Jan 15 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

reply views Thread by Kayra Otaner | last post: by
4 posts views Thread by Chris | last post: by
7 posts views Thread by Rich Denis | last post: by
reply views Thread by Gujju | last post: by
8 posts views Thread by BillE | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.