Well, I would expect memory usage to rise commensurate with the volume of bytes returned by your cfhttp call, or what you do with the resulting content.
But the example is only 537 bytes. Unless your code has created some looping or racing condition, the behavior does seem abnormal. Especially if the *exact same* code worked without issue on an earlier version of OpenBD on the *exact same* J2EE platform on the *same* computer. Tomcat's file layout can change by system. That's what makes open software so much fun. For example, Ubuntu version X can set it all up differently from Red Hat version Y (or even an older Ubuntu for that matter). Luckily, one of the Tomcat log names has not changed for a long while: catalina.out grep (search) your system for that file, and you should find the location of your Tomcat logs from there. For me, it's under /var/log/tomcat6 --- Al Holden On 2013-01-05 23:17, Ernest McCloskey wrote: > Well, that is just the base code, there is more to it which I posted in the bug section on the site. > > And yes, that to was failing in versions beyond the March 30 build. Not sure where to check Tomcats Logs to see what is going on. So if you could point me where I will look. And in the mean time, I will look around and see what I find. > > On 1/6/2013 2:15 AM, Alan Holden wrote: > >> You're still testing with that same URL (https://wsbeta.fedex.com/web-services [6])? >> >> FWIW - Looks like that only returns 537 bytes (and a 500 code). Weird. >> >> Anything in Tomcat's own server logs? >> >> --- >> Al Holden >> >> On 2013-01-05 01:45, MiniFireDragon wrote: >> >>> Just wanted to post an update. >>> >>> I spent some time fiddling with Tomcats memory settings. I do not know what has changed in OpenBD that an cfhttp request was generating Perm Gen errors in Tomcat. I increased the HeapSize to 512mbs and that fixed the issue. As I ran the cfhttp tag I pushed refresh over and over inside of Tomcat's Server Status page and watched the memory climb. >>> >>> So my next question is, why is cfhttp eating away 510mbs of system memory? >>> >>> On Saturday, December 22, 2012 1:07:44 AM UTC-5, MiniFireDragon wrote: >>> >>>> Sorry if this is a double post. Created a topic from an email and it went into another thread: >>>> >>>> I have done some futher research since this post. I went back to a nightly build March 30 and it works. The next nightly build I have was Oct 17 and that didn't work. And I tried the most recent build and that too didn't work. >>>> >>>> cfhttp causing out of memory errors perhaps it's just me, or is/was there a bug where cfhttp doesn't work? I had a section of code that was working and I think I updated sometime ago in one of the nightly builds to the newer one to fix a problem. I don't remember if i tested it after the updating. Here is the stick of code: >>>> >>>> url="https://wsbeta.fedex.com:443/web-services [1]" >>>> method="post" >>>> result="httpResponse"> >>>> >>>> I have cfhttpparam set too, but the above code, by itself does not allow the page to load. And occasionally I will get out of memory (I think on the Perm side). >>>> >>>> here it is on a page: >>>> >>>> http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd [2]"> >>>> >>>> Untitled Document >>>> >>>> url="https://wsbeta.fedex.com:443/web-services [3]" >>>> method="post" >>>> result="httpResponse"> >>>> >>>> I would have thought it would atleast through an error. >>> >>> -- >>> online documentation: http://openbd.org/manual/ [4] >>> http://groups.google.com/group/openbd?hl=en [5] >> -- >> online documentation: http://openbd.org/manual/ [7] >> http://groups.google.com/group/openbd?hl=en [8] > > -- > online documentation: http://openbd.org/manual/ [9] > http://groups.google.com/group/openbd?hl=en [10] Links: ------ [1] https://wsbeta.fedex.com:443/web-services [2] http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd [3] https://wsbeta.fedex.com:443/web-services [4] http://openbd.org/manual/ [5] http://groups.google.com/group/openbd?hl=en [6] https://wsbeta.fedex.com/web-services [7] http://openbd.org/manual/ [8] http://groups.google.com/group/openbd?hl=en [9] http://openbd.org/manual/ [10] http://groups.google.com/group/openbd?hl=en -- online documentation: http://openbd.org/manual/ http://groups.google.com/group/openbd?hl=en
