[ACFUG Discuss] CFLDAP and memory errors

2012-10-09 Thread Rob Saxon
CF Gurus, We have several apps that are generating the following error at different times: unable to create new native thread The specific sequence of files included or processed is: [file path and line #] java.lang.OutOfMemoryError: unable to create new native thread The errors eventually

RE: [ACFUG Discuss] CFLDAP and memory errors

2012-10-09 Thread Charlie Arehart
I would suspect that it may be only made worse by increasing the heap. :-) Strap on your seatbelts. If the problem was easily understood and solved, you'd have found the answer elsewhere. I'll share here some thoughts you don't see/hear often. It will take a few paragraphs to give proper context,

RE: [ACFUG Discuss] CFLDAP and memory errors

2012-10-09 Thread Rob Saxon
Charlie, Thanks so much for lending your expertise. We will take a look at lowering the heap space. We are on a 32-bit server, but it has run for several years without issue. Recently, we added more apps that rely on LDAP calls via CFLDAP. So far, every time this error was thrown, the

Re: [ACFUG Discuss] CFLDAP and memory errors

2012-10-09 Thread Jason Delmore
Rob, I think the memory part of this error message is somewhat misleading. What is happening is that the JVM is running out of operating system threads. As Charlie points out, you can decrease the heap size and leave more space for the stack, but at the end of the day you are just nudging up

RE: [ACFUG Discuss] CFLDAP and memory errors

2012-10-09 Thread Charlie Arehart
Cool stuff. Thanks for sharing, Jason. /charlie From: ad...@acfug.org [mailto:ad...@acfug.org] On Behalf Of Jason Delmore Sent: Tuesday, October 09, 2012 4:09 PM To: discussion@acfug.org Subject: Re: [ACFUG Discuss] CFLDAP and memory errors Rob, I think the memory part of this error