[ http://jira.jboss.com/jira/browse/JBAS-384?page=history ]
     
Scott M Stark closed JBAS-384:
------------------------------

    Resolution: Out of Date

The jca layer has been significatly updated since the 3.0.3 release.

> Memory leak in database access
> ------------------------------
>
>          Key: JBAS-384
>          URL: http://jira.jboss.com/jira/browse/JBAS-384
>      Project: JBoss Application Server
>         Type: Bug
>     Reporter: SourceForge User
>     Assignee: Scott M Stark

>
>
> SourceForge Submitter: jstolze .
> Hello, I've discovered a memory leak in the Database 
> access part of JBoss. I have performed the following test.
> 1. Request a database connection from the initial 
> context.
> 2. Inserted, selected and deleted a record in a MSSQL 
> Server database via JDBC.
> 3. close the connection.
> 4 repeat endlessly.
> After about 3 million repetitions an OutOfMemoryError 
> occurs.
> I've started JBoss with a minimum and maximum heap 
> size of 20 MB. This means that JBoss had 5 MB op 
> heapspace free to perform the above test. I've measured 
> this by requesting the freeMemory on the VM. 
> I can exclude the MS SQLServer JDBC driver, because I 
> have tested it in a seperate java program that does the 
> exact same with the only difference that it doesn't use 
> connection pooling. No memory leak appeared then. 
> Another test I've performed is like the above, but I've only 
> requested a database connection once from the inital 
> context, no memory leak appeared. So I think it is in the 
> connection pooling part of JBoss.
> Config props are:
> JBoss 3.0.3
> JDK: Java(TM) 2 Runtime Environment, Standard Edition 
> (build 1.3.1_03-b03)
> Java HotSpot(TM) Client VM (build 1.3.1_03-b03, mixed 
> mode)
> Platfrom: Windows 2000.
> JDBC Driver: MS SQL-Server JDBC driver

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.jboss.com/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to