You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Phil Friedman <pf...@terralink.com> on 2004/10/17 14:40:14 UTC

Re: SQL Extension, memory usage

John,

After a fair amount of testing, these changes, built on top of 2.6.0
seem to have solved the memory problem. Thanks for your attention.

I will try to test new Xalan builds on a more proactive basis, so if you
have changes in the works please let me know as out products depend
heavily on the SQL extension.

--
Regards, Phil Friedman -- Terralink Software 1-207-772-6500 x101


John Gentilin wrote:
> Phil,
> 
> One last thought... These code changes should work equally well with a 
> 2.6 Release.
> So if you feel more comfortable with 2.6 and a fixed SQL Extension, then 
> you may
> want to ride with that until 2.7 is released.
> 
> -JG
> 
> Phil Friedman wrote:
> 
>> John, would you like me to build with these files against CVS or the 
>> 2.6.0 release?
>>
>> Regards, Phil Friedman - Terralink Software - 1-207-772-6500 x101
>>
>> John Gentilin wrote:
>>
>>> Phil,
>>>
>>> If you have the time, can you give this code a try. The memory 
>>> signature is much better if you use
>>> your original _nsFanTest.xsl but it does not work all that great with 
>>> my apply-templates version
>>>
>>> The DTMManager.release code was always being called, it happened in 
>>> the SQLDocument version
>>> of close. With the new code, while Process is running, the 
>>> SQLDocuments accumulate but they are
>>> GC'ed at the end. With the apply-templates code, we fail to locate 
>>> the original DTM document so
>>> the close does nothing.
>>>
>>> Thanks
>>> John G
>>>
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org


Re: SQL Extension, memory usage

Posted by Joseph Kesselman <ke...@us.ibm.com>.



I'm still trying to find that time. Unfortunately I'm also still trying to
catch up after several weeks of disruption dealing with a bunch of family
obligations...

______________________________________
Joe Kesselman, IBM Next-Generation Web Technologies: XML, XSL and more.
"The world changed profoundly and unpredictably the day Tim Berners Lee
got bitten by a radioactive spider." -- Rafe Culpin, in r.m.filk



                                                                                                   
                      John Gentilin                                                                
                      <gentijo@eyecatch        To:       xalan-dev@xml.apache.org                  
                      ing.com>                 cc:       Joseph Kesselman/Watson/IBM@IBMUS         
                                               Subject:  Re: SQL Extension, memory usage           
                      10/18/2004 12:47                                                             
                      PM                                                                           
                      Please respond to                                                            
                      xalan-dev                                                                    
                                                                                                   




Phil,

I have not checked in any code as of yet.  Joe Kesselman mentioned that
he might
have a few cycles to look into the code/pattern's of the core DTM code
and I was
waiting to see if we might come up with a better fix.  I will send you a
note once
I have something more concrete.

-JG

Phil Friedman wrote:

> John,
>
> After a fair amount of testing, these changes, built on top of 2.6.0
> seem to have solved the memory problem. Thanks for your attention.
>
> I will try to test new Xalan builds on a more proactive basis, so if you
> have changes in the works please let me know as out products depend
> heavily on the SQL extension.
>
> --
> Regards, Phil Friedman -- Terralink Software 1-207-772-6500 x101
>
>
> John Gentilin wrote:
>
>> Phil,
>>
>> One last thought... These code changes should work equally well with
>> a 2.6 Release.
>> So if you feel more comfortable with 2.6 and a fixed SQL Extension,
>> then you may
>> want to ride with that until 2.7 is released.
>>
>> -JG
>>
>> Phil Friedman wrote:
>>
>>> John, would you like me to build with these files against CVS or the
>>> 2.6.0 release?
>>>
>>> Regards, Phil Friedman - Terralink Software - 1-207-772-6500 x101
>>>
>>> John Gentilin wrote:
>>>
>>>> Phil,
>>>>
>>>> If you have the time, can you give this code a try. The memory
>>>> signature is much better if you use
>>>> your original _nsFanTest.xsl but it does not work all that great
>>>> with my apply-templates version
>>>>
>>>> The DTMManager.release code was always being called, it happened in
>>>> the SQLDocument version
>>>> of close. With the new code, while Process is running, the
>>>> SQLDocuments accumulate but they are
>>>> GC'ed at the end. With the apply-templates code, we fail to locate
>>>> the original DTM document so
>>>> the close does nothing.
>>>>
>>>> Thanks
>>>> John G
>>>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xalan-dev-help@xml.apache.org





---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org


Re: SQL Extension, memory usage

Posted by John Gentilin <ge...@eyecatching.com>.
Phil,

I have not checked in any code as of yet.  Joe Kesselman mentioned that 
he might
have a few cycles to look into the code/pattern's of the core DTM code 
and I was
waiting to see if we might come up with a better fix.  I will send you a 
note once
I have something more concrete.

-JG

Phil Friedman wrote:

> John,
>
> After a fair amount of testing, these changes, built on top of 2.6.0
> seem to have solved the memory problem. Thanks for your attention.
>
> I will try to test new Xalan builds on a more proactive basis, so if you
> have changes in the works please let me know as out products depend
> heavily on the SQL extension.
>
> -- 
> Regards, Phil Friedman -- Terralink Software 1-207-772-6500 x101
>
>
> John Gentilin wrote:
>
>> Phil,
>>
>> One last thought... These code changes should work equally well with 
>> a 2.6 Release.
>> So if you feel more comfortable with 2.6 and a fixed SQL Extension, 
>> then you may
>> want to ride with that until 2.7 is released.
>>
>> -JG
>>
>> Phil Friedman wrote:
>>
>>> John, would you like me to build with these files against CVS or the 
>>> 2.6.0 release?
>>>
>>> Regards, Phil Friedman - Terralink Software - 1-207-772-6500 x101
>>>
>>> John Gentilin wrote:
>>>
>>>> Phil,
>>>>
>>>> If you have the time, can you give this code a try. The memory 
>>>> signature is much better if you use
>>>> your original _nsFanTest.xsl but it does not work all that great 
>>>> with my apply-templates version
>>>>
>>>> The DTMManager.release code was always being called, it happened in 
>>>> the SQLDocument version
>>>> of close. With the new code, while Process is running, the 
>>>> SQLDocuments accumulate but they are
>>>> GC'ed at the end. With the apply-templates code, we fail to locate 
>>>> the original DTM document so
>>>> the close does nothing.
>>>>
>>>> Thanks
>>>> John G
>>>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xalan-dev-help@xml.apache.org





---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org