Hi Brad,

Are you using ObjectTools? We have a similar setup and we were leaking 
mysteriously.  I did a bunch of research and I landed on that ObjectTools was 
the issue. I switched everything away to C_OBJECTS (no other changes) and the 
memory issues went away.

ObjectTools is pretty heavily used plugin so I as surprised. It might have to 
do with it running in a web process. Not sure. Regardless, my problem was 
solved by going to C_OBJECTs.

Dani


> On Jun 8, 2018, at 11:50 AM, Olson, Brad via 4D_Tech <[email protected]> 
> wrote:
> 
> I have a large 4D web intranet application that, over the course of a week, 
> runs out of memory.  It is running 4D Server 16R4 on Windows Server 2012, 
> with 16GB RAM, and no other applications are running on it.  This application 
> does a lot of calls to a middleware server that returns large quantities of 
> data in XML format.  The returned data is parsed using the XML DOM commands, 
> but in each case I am calling the DOM CLOSE XML command.
> 
> I have checked that all blobs are being resized to 0, and I have included at 
> the bottom of each web page a wrapper that clears variables and reduces all 
> table selections to 0.  
> 
> jQuery ajax calls are used extensively in the web pages.  The resulting data 
> from these ajax calls is passed back from 4D in html files that use 4D tags 
> and formats the data into JSON format.  At the bottom of each of these files 
> I have also put the Clear Variables and Reduce Selection wrappers.
> 
> What am I missing?  Are there any tools or logs that will tell which methods 
> are not releasing memory?  What else should I be checking?
> 
> Thank you for any assistance,
> 
> Brad 
> **********************************************************************
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:[email protected]
> **********************************************************************

**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to