<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Troubleshooting PGA leak with PGA heap dump</title>
	<atom:link href="http://dioncho.wordpress.com/2009/06/09/707/feed/" rel="self" type="application/rss+xml" />
	<link>http://dioncho.wordpress.com/2009/06/09/707/</link>
	<description>We are natural born scientists</description>
	<lastBuildDate>Fri, 17 Dec 2010 18:43:21 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Steve Howard</title>
		<link>http://dioncho.wordpress.com/2009/06/09/707/#comment-540</link>
		<dc:creator><![CDATA[Steve Howard]]></dc:creator>
		<pubDate>Mon, 08 Mar 2010 15:01:52 +0000</pubDate>
		<guid isPermaLink="false">http://dioncho.wordpress.com/?p=707#comment-540</guid>
		<description><![CDATA[Dion,

This is really good stuff, and help me immensely this morning while troubleshooting what looked like a leak in a sessions PGA.  Thanks for taking the time to post it.

Thanks,

Steve]]></description>
		<content:encoded><![CDATA[<p>Dion,</p>
<p>This is really good stuff, and help me immensely this morning while troubleshooting what looked like a leak in a sessions PGA.  Thanks for taking the time to post it.</p>
<p>Thanks,</p>
<p>Steve</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dion Cho</title>
		<link>http://dioncho.wordpress.com/2009/06/09/707/#comment-417</link>
		<dc:creator><![CDATA[Dion Cho]]></dc:creator>
		<pubDate>Mon, 24 Aug 2009 09:33:05 +0000</pubDate>
		<guid isPermaLink="false">http://dioncho.wordpress.com/?p=707#comment-417</guid>
		<description><![CDATA[@Hans.

Thansk for the adding. 

Without proper data(including PGA heap dump + corresponding subheap dump) when 4030 took place, there would be not much thing to tell for me. 

You might like to post the question on the OTN forum and/or freelist.

Regards.]]></description>
		<content:encoded><![CDATA[<p>@Hans.</p>
<p>Thansk for the adding. </p>
<p>Without proper data(including PGA heap dump + corresponding subheap dump) when 4030 took place, there would be not much thing to tell for me. </p>
<p>You might like to post the question on the OTN forum and/or freelist.</p>
<p>Regards.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hans-Peter Sloot</title>
		<link>http://dioncho.wordpress.com/2009/06/09/707/#comment-416</link>
		<dc:creator><![CDATA[Hans-Peter Sloot]]></dc:creator>
		<pubDate>Mon, 24 Aug 2009 08:32:35 +0000</pubDate>
		<guid isPermaLink="false">http://dioncho.wordpress.com/?p=707#comment-416</guid>
		<description><![CDATA[Hi Dion,

Sorry I should have added.
The ulimit where checked again and again.
The impdp shows various ORA-04030. Until now we have generated at least 4 different.
I have no direct access to the instance. 
The dba&#039;s managed to get a heap dump for (sort subheap,sort key) generated while impdp is creating indexes. The heapdump shows that the sort subheap has only 6k free whereas 64k is requested. The total pga is 358M with 6M free in various subheaps.
Metalink is not of much help.
Oracle Support isn&#039;t either alas.
The just tell us to exclude indexes + statistics + procedure etc.

Regards Hans-Peter]]></description>
		<content:encoded><![CDATA[<p>Hi Dion,</p>
<p>Sorry I should have added.<br />
The ulimit where checked again and again.<br />
The impdp shows various ORA-04030. Until now we have generated at least 4 different.<br />
I have no direct access to the instance.<br />
The dba&#8217;s managed to get a heap dump for (sort subheap,sort key) generated while impdp is creating indexes. The heapdump shows that the sort subheap has only 6k free whereas 64k is requested. The total pga is 358M with 6M free in various subheaps.<br />
Metalink is not of much help.<br />
Oracle Support isn&#8217;t either alas.<br />
The just tell us to exclude indexes + statistics + procedure etc.</p>
<p>Regards Hans-Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dion Cho</title>
		<link>http://dioncho.wordpress.com/2009/06/09/707/#comment-412</link>
		<dc:creator><![CDATA[Dion Cho]]></dc:creator>
		<pubDate>Fri, 21 Aug 2009 23:52:18 +0000</pubDate>
		<guid isPermaLink="false">http://dioncho.wordpress.com/?p=707#comment-412</guid>
		<description><![CDATA[Hans.

1. Have you checked your OS configuration?
2. And tried analyzing PGA heap dump?
3. And searched metalink for that?
]]></description>
		<content:encoded><![CDATA[<p>Hans.</p>
<p>1. Have you checked your OS configuration?<br />
2. And tried analyzing PGA heap dump?<br />
3. And searched metalink for that?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hans-Peter Sloot</title>
		<link>http://dioncho.wordpress.com/2009/06/09/707/#comment-409</link>
		<dc:creator><![CDATA[Hans-Peter Sloot]]></dc:creator>
		<pubDate>Thu, 20 Aug 2009 09:48:27 +0000</pubDate>
		<guid isPermaLink="false">http://dioncho.wordpress.com/?p=707#comment-409</guid>
		<description><![CDATA[Hello Don,

With impdp we get 
 ORA-04030: out of process memory when trying to allocate 2080 bytes (kxs-heap-c,kghsseg: qcstxsInit)
As far as we know no real memory shortage.

Could impdp use array bulk inserts and hit the same bug?

Regards Hans-Peter


Regards Hans-Peter]]></description>
		<content:encoded><![CDATA[<p>Hello Don,</p>
<p>With impdp we get<br />
 ORA-04030: out of process memory when trying to allocate 2080 bytes (kxs-heap-c,kghsseg: qcstxsInit)<br />
As far as we know no real memory shortage.</p>
<p>Could impdp use array bulk inserts and hit the same bug?</p>
<p>Regards Hans-Peter</p>
<p>Regards Hans-Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Blogroll Report 06/06/09 &#8211; 12/06/09 &#171; Coskan&#8217;s Approach to Oracle</title>
		<link>http://dioncho.wordpress.com/2009/06/09/707/#comment-279</link>
		<dc:creator><![CDATA[Blogroll Report 06/06/09 &#8211; 12/06/09 &#171; Coskan&#8217;s Approach to Oracle]]></dc:creator>
		<pubDate>Fri, 12 Jun 2009 19:33:07 +0000</pubDate>
		<guid isPermaLink="false">http://dioncho.wordpress.com/?p=707#comment-279</guid>
		<description><![CDATA[[...] 1-How to deal with memory leaks by using memory dumps. (PGA leak bug) Jonathan Lewis &#8211; PGA Leaks Dion Cho &#8211; Troubleshooting PGA leak with PGA heap dump [...]]]></description>
		<content:encoded><![CDATA[<p>[...] 1-How to deal with memory leaks by using memory dumps. (PGA leak bug) Jonathan Lewis &#8211; PGA Leaks Dion Cho &#8211; Troubleshooting PGA leak with PGA heap dump [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dion Cho</title>
		<link>http://dioncho.wordpress.com/2009/06/09/707/#comment-271</link>
		<dc:creator><![CDATA[Dion Cho]]></dc:creator>
		<pubDate>Wed, 10 Jun 2009 02:41:19 +0000</pubDate>
		<guid isPermaLink="false">http://dioncho.wordpress.com/?p=707#comment-271</guid>
		<description><![CDATA[@Polarski

Thanks for the work. 

That&#039;s why I left the comment &quot;this works only for local database&quot;. It was just a dirty sample and you made it better!
]]></description>
		<content:encoded><![CDATA[<p>@Polarski</p>
<p>Thanks for the work. </p>
<p>That&#8217;s why I left the comment &#8220;this works only for local database&#8221;. It was just a dirty sample and you made it better!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: B. Polarski</title>
		<link>http://dioncho.wordpress.com/2009/06/09/707/#comment-270</link>
		<dc:creator><![CDATA[B. Polarski]]></dc:creator>
		<pubDate>Tue, 09 Jun 2009 12:53:14 +0000</pubDate>
		<guid isPermaLink="false">http://dioncho.wordpress.com/?p=707#comment-270</guid>
		<description><![CDATA[humm... and the rest must also be transformed:

            select
               to_number(regexp_replace(column_value,&#039;.*sz=[[:space:]]+([[:digit:]]+)[[:space:]].*&#039;,&#039;\1&#039;)) csize,
               rtrim(regexp_replace(column_value,&#039;.*sz=[[:space:]]+[[:digit:]]+[[:space:]]+([[:alnum:]]+)[[:space:]].*&#039;,&#039;\1&#039;)) atype,
               rtrim(regexp_replace(column_value,&#039;.*[&quot;]+(.*)[&quot;].*&#039;,&#039;\1&#039;)) ctype,
               rtrim(regexp_replace(column_value,&#039;.*[&quot;]+.*[&quot;](.*)&#039;,&#039;\1&#039;)) ds
from table(get_trace_file2(&#039;&amp;1&#039;))]]></description>
		<content:encoded><![CDATA[<p>humm&#8230; and the rest must also be transformed:</p>
<p>            select<br />
               to_number(regexp_replace(column_value,&#8217;.*sz=[[:space:]]+([[:digit:]]+)[[:space:]].*&#8217;,'\1&#8242;)) csize,<br />
               rtrim(regexp_replace(column_value,&#8217;.*sz=[[:space:]]+[[:digit:]]+[[:space:]]+([[:alnum:]]+)[[:space:]].*&#8217;,'\1&#8242;)) atype,<br />
               rtrim(regexp_replace(column_value,&#8217;.*["]+(.*)["].*&#8217;,'\1&#8242;)) ctype,<br />
               rtrim(regexp_replace(column_value,&#8217;.*["]+.*["](.*)&#8217;,'\1&#8242;)) ds<br />
from table(get_trace_file2(&#8216;&amp;1&#8242;))</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: B. Polarski</title>
		<link>http://dioncho.wordpress.com/2009/06/09/707/#comment-269</link>
		<dc:creator><![CDATA[B. Polarski]]></dc:creator>
		<pubDate>Tue, 09 Jun 2009 12:16:16 +0000</pubDate>
		<guid isPermaLink="false">http://dioncho.wordpress.com/?p=707#comment-269</guid>
		<description><![CDATA[The script heap_analyse must be refined. Spacing in trace file is platform dependent. On my Linux x86_64 the following line &quot;select  to_number(substr(column_value, 21, 9)) as csize,&quot; return empty string and the to_number make it error. After investigation the heap size value in trace file was at 30 not 21.

I suggest using regexp_replace to extract values 
&quot; select to_number(regexp_replace(column_value,&#039;.*sz=[[:space:]]+([[:digit:]]+)[[:space:]].*&#039;,&#039;\1&#039;)) as csize&quot;

tested it and it worked.]]></description>
		<content:encoded><![CDATA[<p>The script heap_analyse must be refined. Spacing in trace file is platform dependent. On my Linux x86_64 the following line &#8220;select  to_number(substr(column_value, 21, 9)) as csize,&#8221; return empty string and the to_number make it error. After investigation the heap size value in trace file was at 30 not 21.</p>
<p>I suggest using regexp_replace to extract values<br />
&#8221; select to_number(regexp_replace(column_value,&#8217;.*sz=[[:space:]]+([[:digit:]]+)[[:space:]].*&#8217;,'\1&#8242;)) as csize&#8221;</p>
<p>tested it and it worked.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dion Cho</title>
		<link>http://dioncho.wordpress.com/2009/06/09/707/#comment-268</link>
		<dc:creator><![CDATA[Dion Cho]]></dc:creator>
		<pubDate>Tue, 09 Jun 2009 07:23:05 +0000</pubDate>
		<guid isPermaLink="false">http://dioncho.wordpress.com/?p=707#comment-268</guid>
		<description><![CDATA[@Jonathan.

Thank you for the infos. 

I would look into those views for further investigation.]]></description>
		<content:encoded><![CDATA[<p>@Jonathan.</p>
<p>Thank you for the infos. </p>
<p>I would look into those views for further investigation.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
