You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by gpub <af...@gmail.com> on 2010/01/25 11:53:28 UTC

PLEASE SUGGEST WHAT to take the heap size for 0.99 GB RAM in bat file

hi all, 

this is kinda urgent as i have edited my bat file to below status 
set HEAP=-Xms512m -Xmx512m
Set NEW=-XX:NewSize=256m -XX:MaxNewSize=512m

and when do recording i gets out of bound error exception as below

java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
        at java.util.ArrayList.RangeCheck(Unknown Source)
        at java.util.ArrayList.get(Unknown Source)
        at
org.apache.jorphan.gui.ObjectTableModel.getValueAt(ObjectTableModel.j
ava:157)
        at javax.swing.JTable.getValueAt(Unknown Source)
        at javax.swing.JTable.prepareRenderer(Unknown Source)
        at javax.swing.plaf.basic.BasicTableUI.paintCell(Unknown Source)
        at javax.swing.plaf.basic.BasicTableUI.paintCells(Unknown Source)
        at javax.swing.plaf.basic.BasicTableUI.paint(Unknown Source)
        at javax.swing.plaf.ComponentUI.update(Unknown Source)
        at javax.swing.JComponent.paintComponent(Unknown Source)
        at javax.swing.JComponent.paint(Unknown Source)
        at javax.swing.JComponent.paintChildren(Unknown Source)
        at javax.swing.JComponent.paint(Unknown Source)
        at javax.swing.JViewport.paint(Unknown Source)
        at javax.swing.JComponent.paintChildren(Unknown Source)
        at javax.swing.JComponent.paint(Unknown Source)
        at javax.swing.JComponent.paintWithOffscreenBuffer(Unknown Source)
        at javax.swing.JComponent.paintDoubleBuffered(Unknown Source)
        at javax.swing.JComponent._paintImmediately(Unknown Source)
        at javax.swing.JComponent.paintImmediately(Unknown Source)
        at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
        at
javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknow
n Source)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown
Source)

        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)
java.lang.IndexOutOfBoundsException: Index: 2, Size: 0
        at java.util.ArrayList.RangeCheck(Unknown Source)
        at java.util.ArrayList.get(Unknown Source)
        at
org.apache.jorphan.gui.ObjectTableModel.getValueAt(ObjectTableModel.j
ava:157)



PLEASE SUGGEST WHAT DO I NEED TO ENTER IN THE BAT FILE??
Thanks
-- 
View this message in context: http://old.nabble.com/PLEASE-SUGGEST-WHAT-to-take-the-heap-size-for-0.99-GB-RAM-in-bat-file-tp27304920p27304920.html
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: PLEASE SUGGEST WHAT to take the heap size for 0.99 GB RAM in bat file

Posted by Ronan Klyne <ro...@groupbc.com>.
On 28/01/2010 05:28, gpub wrote:
> hey Ronan
> this happens when i keep working on IE6 and do some stuff and pop up windows
> appears
> and i keep recording, some time i shut proxy server and restart it again and
> do recording again
>
> it looks to me memory error becoz
> i changed my bat files as
> set HEAP=-Xms512m -Xmx512m
> set NEW=-XX:NewSize=128m -XX:MaxNewSize=512m
>
> now i am not getting the same problem
>    
If you don't have the same problem any more, then you'll have to tell us 
about your new problem for us to help you.

> Ronan, please let me know specifically that "any unusual UI elements? or
> problem rendering some table for display" cause same error so that i could
> do "R and D" on this stuff....
>    

> If you have already faced this issue then do let me know that how come you
> have overcome with it.
>    
I haven't seen this error before. I'm guessing at what the cause might 
be, based on the stack trace you posted.

I guessed at a UI element being the cause because the trace includes 
several mentions of AWT - a windowing toolkit.

> Regards
> GP
>
>
> Ronan Klyne-2 wrote:
>    
>> On 25/01/2010 11:45, gpub wrote:
>>      
>>> Hi All
>>> PLEASE SUGGEST WHAT to take the edit heap size for 0.99 GB RAM in bat
>>> file
>>>
>>> set HEAP=-Xms512m -Xmx512m (Any changes required )
>>> Set NEW=-XX:NewSize=256m -XX:MaxNewSize=512m (Any changes required )
>>> set PERM=-XX:PermSize=64m -XX:MaxPermSize=64m  (Any changes required )
>>>
>>>        
>> The errors below don't look like memory errors to me. Why do you think
>> this is a memory problem?
>>
>> Do you have any unusual UI elements? It looks to me like there's a
>> problem rendering some table for display...
>>
>> Ronan
>>
>>      
>>> regards
>>> GP
>>>
>>>
>>>
>>>
>>> gpub wrote:
>>>
>>>        
>>>> hi all,
>>>>
>>>> this is kinda urgent as i have edited my bat file to below status
>>>> set HEAP=-Xms512m -Xmx512m
>>>> Set NEW=-XX:NewSize=256m -XX:MaxNewSize=512m
>>>>
>>>> and when do recording i gets out of bound error exception as below
>>>>
>>>> java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
>>>>           at java.util.ArrayList.RangeCheck(Unknown Source)
>>>>           at java.util.ArrayList.get(Unknown Source)
>>>>           at
>>>> org.apache.jorphan.gui.ObjectTableModel.getValueAt(ObjectTableModel.j
>>>> ava:157)
>>>>           at javax.swing.JTable.getValueAt(Unknown Source)
>>>>           at javax.swing.JTable.prepareRenderer(Unknown Source)
>>>>           at javax.swing.plaf.basic.BasicTableUI.paintCell(Unknown
>>>> Source)
>>>>           at javax.swing.plaf.basic.BasicTableUI.paintCells(Unknown
>>>> Source)
>>>>           at javax.swing.plaf.basic.BasicTableUI.paint(Unknown Source)
>>>>           at javax.swing.plaf.ComponentUI.update(Unknown Source)
>>>>           at javax.swing.JComponent.paintComponent(Unknown Source)
>>>>           at javax.swing.JComponent.paint(Unknown Source)
>>>>           at javax.swing.JComponent.paintChildren(Unknown Source)
>>>>           at javax.swing.JComponent.paint(Unknown Source)
>>>>           at javax.swing.JViewport.paint(Unknown Source)
>>>>           at javax.swing.JComponent.paintChildren(Unknown Source)
>>>>           at javax.swing.JComponent.paint(Unknown Source)
>>>>           at javax.swing.JComponent.paintWithOffscreenBuffer(Unknown
>>>> Source)
>>>>           at javax.swing.JComponent.paintDoubleBuffered(Unknown Source)
>>>>           at javax.swing.JComponent._paintImmediately(Unknown Source)
>>>>           at javax.swing.JComponent.paintImmediately(Unknown Source)
>>>>           at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
>>>>           at
>>>> javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknow
>>>> n Source)
>>>>           at java.awt.event.InvocationEvent.dispatch(Unknown Source)
>>>>           at java.awt.EventQueue.dispatchEvent(Unknown Source)
>>>>           at
>>>> java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown
>>>> Source)
>>>>
>>>>           at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
>>>> Source)
>>>>           at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>>>>           at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>>>>           at java.awt.EventDispatchThread.run(Unknown Source)
>>>> java.lang.IndexOutOfBoundsException: Index: 2, Size: 0
>>>>           at java.util.ArrayList.RangeCheck(Unknown Source)
>>>>           at java.util.ArrayList.get(Unknown Source)
>>>>           at
>>>> org.apache.jorphan.gui.ObjectTableModel.getValueAt(ObjectTableModel.j
>>>> ava:157)
>>>>
>>>>
>>>>
>>>> PLEASE SUGGEST WHAT DO I NEED TO ENTER IN THE BAT FILE??
>>>> Thanks
>>>>
>>>>
>>>>          
>>>
>>>        
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>
>>
>>
>>      
>    


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: PLEASE SUGGEST WHAT to take the heap size for 0.99 GB RAM in bat file

Posted by gpub <af...@gmail.com>.
hey Ronan
this happens when i keep working on IE6 and do some stuff and pop up windows
appears
and i keep recording, some time i shut proxy server and restart it again and
do recording again

it looks to me memory error becoz
i changed my bat files as
set HEAP=-Xms512m -Xmx512m
set NEW=-XX:NewSize=128m -XX:MaxNewSize=512m

now i am not getting the same problem

Ronan, please let me know specifically that "any unusual UI elements? or
problem rendering some table for display" cause same error so that i could
do "R and D" on this stuff.... 

If you have already faced this issue then do let me know that how come you
have overcome with it.

Regards
GP


Ronan Klyne-2 wrote:
> 
> On 25/01/2010 11:45, gpub wrote:
>> Hi All
>> PLEASE SUGGEST WHAT to take the edit heap size for 0.99 GB RAM in bat
>> file
>>
>> set HEAP=-Xms512m -Xmx512m (Any changes required )
>> Set NEW=-XX:NewSize=256m -XX:MaxNewSize=512m (Any changes required )
>> set PERM=-XX:PermSize=64m -XX:MaxPermSize=64m  (Any changes required )
>>    
> The errors below don't look like memory errors to me. Why do you think 
> this is a memory problem?
> 
> Do you have any unusual UI elements? It looks to me like there's a 
> problem rendering some table for display...
> 
> Ronan
> 
>> regards
>> GP
>>
>>
>>
>>
>> gpub wrote:
>>    
>>> hi all,
>>>
>>> this is kinda urgent as i have edited my bat file to below status
>>> set HEAP=-Xms512m -Xmx512m
>>> Set NEW=-XX:NewSize=256m -XX:MaxNewSize=512m
>>>
>>> and when do recording i gets out of bound error exception as below
>>>
>>> java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
>>>          at java.util.ArrayList.RangeCheck(Unknown Source)
>>>          at java.util.ArrayList.get(Unknown Source)
>>>          at
>>> org.apache.jorphan.gui.ObjectTableModel.getValueAt(ObjectTableModel.j
>>> ava:157)
>>>          at javax.swing.JTable.getValueAt(Unknown Source)
>>>          at javax.swing.JTable.prepareRenderer(Unknown Source)
>>>          at javax.swing.plaf.basic.BasicTableUI.paintCell(Unknown
>>> Source)
>>>          at javax.swing.plaf.basic.BasicTableUI.paintCells(Unknown
>>> Source)
>>>          at javax.swing.plaf.basic.BasicTableUI.paint(Unknown Source)
>>>          at javax.swing.plaf.ComponentUI.update(Unknown Source)
>>>          at javax.swing.JComponent.paintComponent(Unknown Source)
>>>          at javax.swing.JComponent.paint(Unknown Source)
>>>          at javax.swing.JComponent.paintChildren(Unknown Source)
>>>          at javax.swing.JComponent.paint(Unknown Source)
>>>          at javax.swing.JViewport.paint(Unknown Source)
>>>          at javax.swing.JComponent.paintChildren(Unknown Source)
>>>          at javax.swing.JComponent.paint(Unknown Source)
>>>          at javax.swing.JComponent.paintWithOffscreenBuffer(Unknown
>>> Source)
>>>          at javax.swing.JComponent.paintDoubleBuffered(Unknown Source)
>>>          at javax.swing.JComponent._paintImmediately(Unknown Source)
>>>          at javax.swing.JComponent.paintImmediately(Unknown Source)
>>>          at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
>>>          at
>>> javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknow
>>> n Source)
>>>          at java.awt.event.InvocationEvent.dispatch(Unknown Source)
>>>          at java.awt.EventQueue.dispatchEvent(Unknown Source)
>>>          at
>>> java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown
>>> Source)
>>>
>>>          at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
>>> Source)
>>>          at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>>>          at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>>>          at java.awt.EventDispatchThread.run(Unknown Source)
>>> java.lang.IndexOutOfBoundsException: Index: 2, Size: 0
>>>          at java.util.ArrayList.RangeCheck(Unknown Source)
>>>          at java.util.ArrayList.get(Unknown Source)
>>>          at
>>> org.apache.jorphan.gui.ObjectTableModel.getValueAt(ObjectTableModel.j
>>> ava:157)
>>>
>>>
>>>
>>> PLEASE SUGGEST WHAT DO I NEED TO ENTER IN THE BAT FILE??
>>> Thanks
>>>
>>>      
>>    
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/PLEASE-SUGGEST-WHAT-to-take-the-heap-size-for-0.99-GB-RAM-in-bat-file-tp27304920p27351286.html
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: PLEASE SUGGEST WHAT to take the heap size for 0.99 GB RAM in bat file

Posted by Ronan Klyne <ro...@groupbc.com>.
On 25/01/2010 11:45, gpub wrote:
> Hi All
> PLEASE SUGGEST WHAT to take the edit heap size for 0.99 GB RAM in bat file
>
> set HEAP=-Xms512m -Xmx512m (Any changes required )
> Set NEW=-XX:NewSize=256m -XX:MaxNewSize=512m (Any changes required )
> set PERM=-XX:PermSize=64m -XX:MaxPermSize=64m  (Any changes required )
>    
The errors below don't look like memory errors to me. Why do you think 
this is a memory problem?

Do you have any unusual UI elements? It looks to me like there's a 
problem rendering some table for display...

Ronan

> regards
> GP
>
>
>
>
> gpub wrote:
>    
>> hi all,
>>
>> this is kinda urgent as i have edited my bat file to below status
>> set HEAP=-Xms512m -Xmx512m
>> Set NEW=-XX:NewSize=256m -XX:MaxNewSize=512m
>>
>> and when do recording i gets out of bound error exception as below
>>
>> java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
>>          at java.util.ArrayList.RangeCheck(Unknown Source)
>>          at java.util.ArrayList.get(Unknown Source)
>>          at
>> org.apache.jorphan.gui.ObjectTableModel.getValueAt(ObjectTableModel.j
>> ava:157)
>>          at javax.swing.JTable.getValueAt(Unknown Source)
>>          at javax.swing.JTable.prepareRenderer(Unknown Source)
>>          at javax.swing.plaf.basic.BasicTableUI.paintCell(Unknown Source)
>>          at javax.swing.plaf.basic.BasicTableUI.paintCells(Unknown Source)
>>          at javax.swing.plaf.basic.BasicTableUI.paint(Unknown Source)
>>          at javax.swing.plaf.ComponentUI.update(Unknown Source)
>>          at javax.swing.JComponent.paintComponent(Unknown Source)
>>          at javax.swing.JComponent.paint(Unknown Source)
>>          at javax.swing.JComponent.paintChildren(Unknown Source)
>>          at javax.swing.JComponent.paint(Unknown Source)
>>          at javax.swing.JViewport.paint(Unknown Source)
>>          at javax.swing.JComponent.paintChildren(Unknown Source)
>>          at javax.swing.JComponent.paint(Unknown Source)
>>          at javax.swing.JComponent.paintWithOffscreenBuffer(Unknown Source)
>>          at javax.swing.JComponent.paintDoubleBuffered(Unknown Source)
>>          at javax.swing.JComponent._paintImmediately(Unknown Source)
>>          at javax.swing.JComponent.paintImmediately(Unknown Source)
>>          at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
>>          at
>> javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknow
>> n Source)
>>          at java.awt.event.InvocationEvent.dispatch(Unknown Source)
>>          at java.awt.EventQueue.dispatchEvent(Unknown Source)
>>          at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown
>> Source)
>>
>>          at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
>> Source)
>>          at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>>          at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>>          at java.awt.EventDispatchThread.run(Unknown Source)
>> java.lang.IndexOutOfBoundsException: Index: 2, Size: 0
>>          at java.util.ArrayList.RangeCheck(Unknown Source)
>>          at java.util.ArrayList.get(Unknown Source)
>>          at
>> org.apache.jorphan.gui.ObjectTableModel.getValueAt(ObjectTableModel.j
>> ava:157)
>>
>>
>>
>> PLEASE SUGGEST WHAT DO I NEED TO ENTER IN THE BAT FILE??
>> Thanks
>>
>>      
>    


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: PLEASE SUGGEST WHAT to take the heap size for 0.99 GB RAM in bat file

Posted by gpub <af...@gmail.com>.
Hi All
PLEASE SUGGEST WHAT to take the edit heap size for 0.99 GB RAM in bat file 

set HEAP=-Xms512m -Xmx512m (Any changes required )
Set NEW=-XX:NewSize=256m -XX:MaxNewSize=512m (Any changes required )
set PERM=-XX:PermSize=64m -XX:MaxPermSize=64m  (Any changes required )

regards
GP




gpub wrote:
> 
> hi all, 
> 
> this is kinda urgent as i have edited my bat file to below status 
> set HEAP=-Xms512m -Xmx512m
> Set NEW=-XX:NewSize=256m -XX:MaxNewSize=512m
> 
> and when do recording i gets out of bound error exception as below
> 
> java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
>         at java.util.ArrayList.RangeCheck(Unknown Source)
>         at java.util.ArrayList.get(Unknown Source)
>         at
> org.apache.jorphan.gui.ObjectTableModel.getValueAt(ObjectTableModel.j
> ava:157)
>         at javax.swing.JTable.getValueAt(Unknown Source)
>         at javax.swing.JTable.prepareRenderer(Unknown Source)
>         at javax.swing.plaf.basic.BasicTableUI.paintCell(Unknown Source)
>         at javax.swing.plaf.basic.BasicTableUI.paintCells(Unknown Source)
>         at javax.swing.plaf.basic.BasicTableUI.paint(Unknown Source)
>         at javax.swing.plaf.ComponentUI.update(Unknown Source)
>         at javax.swing.JComponent.paintComponent(Unknown Source)
>         at javax.swing.JComponent.paint(Unknown Source)
>         at javax.swing.JComponent.paintChildren(Unknown Source)
>         at javax.swing.JComponent.paint(Unknown Source)
>         at javax.swing.JViewport.paint(Unknown Source)
>         at javax.swing.JComponent.paintChildren(Unknown Source)
>         at javax.swing.JComponent.paint(Unknown Source)
>         at javax.swing.JComponent.paintWithOffscreenBuffer(Unknown Source)
>         at javax.swing.JComponent.paintDoubleBuffered(Unknown Source)
>         at javax.swing.JComponent._paintImmediately(Unknown Source)
>         at javax.swing.JComponent.paintImmediately(Unknown Source)
>         at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
>         at
> javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknow
> n Source)
>         at java.awt.event.InvocationEvent.dispatch(Unknown Source)
>         at java.awt.EventQueue.dispatchEvent(Unknown Source)
>         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown
> Source)
> 
>         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
> Source)
>         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>         at java.awt.EventDispatchThread.run(Unknown Source)
> java.lang.IndexOutOfBoundsException: Index: 2, Size: 0
>         at java.util.ArrayList.RangeCheck(Unknown Source)
>         at java.util.ArrayList.get(Unknown Source)
>         at
> org.apache.jorphan.gui.ObjectTableModel.getValueAt(ObjectTableModel.j
> ava:157)
> 
> 
> 
> PLEASE SUGGEST WHAT DO I NEED TO ENTER IN THE BAT FILE??
> Thanks
> 

-- 
View this message in context: http://old.nabble.com/PLEASE-SUGGEST-WHAT-to-take-the-heap-size-for-0.99-GB-RAM-in-bat-file-tp27304920p27305457.html
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org