2 Replies Latest reply on Sep 25, 2003 10:32 AM by shoran

    memory leak?

    shoran Newbie

      I have a session bean that calls an entity bean that reads a row from a mysql (doesn't matter what the backend is) database in a loop. At the end of the loop I call the Runtime class to get the free memory. Each time I run a test client reading 10,000 rows, I have about 30Mb less free memory until the jvm runs out of memory. I have tweaked the standardjboss.xml's max-capacity for each entity type. I set it to 100 in an effort to constrain bean creation and encourage reuse. I see the beans passivate, but memory consumption grows. Is there an issue with getting rid of the EJBObject associated with the bean? I am on Win2k pro, JBoss 3.2.1.

      Thanks,
      Seth