Jim Idle wrote:
Pawel (privately) wrote:Before I answer this, I meant to say that all evidence tells me that you should immediately switch to the Watson allocator - the issue may well be alleviated, or even fixed by that. Don't worry about the free(NULL), but do report it. So, the problem with just removing the .so version of SELECT and SSELECT is that the incoming and outgoing SELECT lists that these programs generate can ONLY be passed around in memory. Which means that just renaming the .so will mean the SSELECT is executed out of process but the resulting select list will be discarded. So, first try the Watson allocator (it almost certainly will not be worse), and if that does not help, try this. Until TEMENOS can fix the memory leak (assuming for the moment that there is one), we have to get very tricky, but this will immediately cure your problem if jQL memory leaks are the issue. Make sure you try this in a test installation of course as a mistake would screw up badly. What we need to do is get SELECT and SSELECT to execute externally from the batch program. Now if the real problem is just that your SSELECT is just running out of memory because it is just too damned big, then this won't help at all, or it might help short term because there is a bit more memory available in the process when it is tand alone, but will run out anyway later when the file gets bigger. If it is just too big a query, then you will have to stop doing SSELECT or get to jBASE 5 and use 64 bits and so on (though that may not help). Basically, if the SSELECT accumulates 2GB of memory allocations, then it will just die with out of memory anyway. This is why the Watson allocator may just stop the problem. So, to do this, you need the following:
OK, so that sounds complicated and of course this is just a work around to try and prove things one way or another. However, it isn't very many more lines of jBC code than the description above and can be implemented without disturbing the real SELECT and SSELECT. It has the advantage that if you are not leaking memory but the query is too big for in process, then the external one will probably work and will always tart with clean memory, but if you ARE leaking memory, AND it is jQL that is doing it, then you will no longer leak it. I realize that that program is probably a lot easier for me to write, but I am sure you can do it. Just test it a lot in your own login before changing the .profile for everyone on the test machine, then get everyone to try it until you are happy with putting it live. Of course, whether this helps or not, you need to be getting TEMENOS to help you fix any problem; I am sure that they will. Jim --~--~---------~--~----~------------~-------~--~----~ Please read the posting guidelines at: http://groups.google.com/group/jBASE/web/Posting%20Guidelines IMPORTANT: Type T24: at the start of the subject line for questions specific to Globus/T24
To post, send email to [email protected]
|
- jBASE 4.1.5.17 - does anyone face "out of memory&qu... Pawel (privately)
- Re: jBASE 4.1.5.17 - does anyone face "out of ... Pawel (privately)
- Re: jBASE 4.1.5.17 - does anyone face "out of ... Jim Idle
- Re: jBASE 4.1.5.17 - does anyone face "out of ... Jim Idle
- Re: jBASE 4.1.5.17 - does anyone face "out... Mike Preece
- Re: jBASE 4.1.5.17 - does anyone face "... Pawel (privately)
- Re: jBASE 4.1.5.17 - does anyone face &... Pawel (privately)
- Re: jBASE 4.1.5.17 - does anyone f... Jim Idle
- Re: jBASE 4.1.5.17 - does anyo... Jim Idle
- Re: jBASE 4.1.5.17 - does anyone f... pat
- Re: jBASE 4.1.5.17 - does anyo... Greg Cooper
- Re: jBASE 4.1.5.17 - does ... Pawel (privately)
- Re: jBASE 4.1.5.17 - does ... Jim Idle
- Re: jBASE 4.1.5.17 - does ... Pawel (privately)
- Re: jBASE 4.1.5.17 - does ... Jim Idle
- Re: jBASE 4.1.5.17 - does ... Pawel (privately)
- Re: jBASE 4.1.5.17 - does ... Jim Idle
- Re: jBASE 4.1.5.17 - does anyone face &... Jim Idle
- Re: jBASE 4.1.5.17 - does anyone face "out of ... mike ryder
