BTW, this isn't literally a memory leak - it's a thread leak and Java
VMs don't have a separate exception/error for that.
Not that leaking one resource is any better than leaking another...
danch (Dan Christopherson) wrote:
> Nicolai P Guba wrote:
>
>> Hello
>>
>> I noticed that on deploying entities several times, the server starts
>> throwing an OutOfMemory Exception and has spanned too many processes
>> for the OS (Linux) to handle so that there are not enough resources
>> left for a fork to shut down the server gracefully (or reboot).
>
>
>
> Just for the record, those are threads, not processes. Not that the
> Linux kernel really differentiates or anything...
>
>
>>
>> Has anybody experienced similar problems? Could it be that I am not
>> freeing some resurces or other problem with my BMP Entities?
>>
>
>
> I haven't seen this. How many times do you redeploy? Are you doing
> anything unusual in your entities? Do you close database connections,
> statements, resultsets? What DB are you using?
>
> -danch
>
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user