!!

Welcome to Selenium Webdriver Forum

As a web user you can read and search through forum content. Once you have registered and signed you can post topics, post replies, set up watch lists, modify forum settings, and use private messaging.

Author Topic: selenium - out of memory  (Read 812 times)

santhosh venkat

  • Web User
selenium - out of memory
« on: April 02, 2012, 08:20:13 PM »
Today i got the OUT OF MEMORY while running he selenium,.  Is there a
 tuning tips for this ?
 
12:39:42.796 INFO - Command request: waitForPageToLoad[30000, ] on session
 e5ec6a1f41494774aa41dce244ca13d3
 12:39:45.406 WARN - POST
 /selenium-server/driver/?&localFrameAddress=top&seleniumWindowName=&uniqueId=sel_88577&sessionId=e5ec6a1f41494774aa41dce244ca13d3&counterToMakeURsUniqueAndSoStopPageCachingInTheBrowser=1323846581750&sequenceNumber=6049
 HTTP/1.1
 java.lang.OutOfMemoryError: Java heap space
 12:39:45.859 WARN - POST /selenium-server/driver/ HTTP/1.1
 java.lang.OutOfMemoryError: Java heap space
 12:39:48.343 WARN - POST
 /selenium-server/driver/?&localFrameAddress=top&seleniumWindowName=&uniqueId=sel_88577&sessionId=e5ec6a1f41494774aa41dce244ca13d3&counterToMakeURsUniqueAndSoStopPageCachingInTheBrowser=1323846588078&sequenceNumber=6050
 HTTP/1.1
 java.lang.OutOfMemoryError: Java heap space
 12:39:49.140 WARN - POST /selenium-server/driver/ HTTP/1.1
 java.lang.OutOfMemoryError: Java heap space
 12:39:49.515 WARN - POST /selenium-server/driver/ HTTP/1.1
 java.lang.OutOfMemoryError: Java heap space
 12:39:49.906 WARN - POST /selenium-server/driver/ HTTP/1.1
 java.lang.OutOfMemoryError: Java heap space
 12:39:50.625 WARN - POST /selenium-server/driver/ HTTP/1.1
 java.lang.OutOfMemoryError: Java heap space
 12:39:51.546 WARN - POST /selenium-server/driver/ HTTP/1.1
 java.lang.OutOfMemoryError: Java heap space
 Exception in thread "SocketListener0-1" java.lang.OutOfMemoryError: Java
 heap space
 12:39:52.687 WARN - POST
 /selenium-server/driver/?seleniumStart=true&localFrameAddress=top&seleniumWindowName=&uniqueId=sel_88577&sessionId=e5ec6a1f41494774aa41dce244ca13d3&counterToMakeURsUniqueAndSoStopPageCachingInTheBrowser=1323846590578&sequenceNumber=6051
 HTTP/1.1
 java.lang.OutOfMemoryError: Java heap space
 12:39:55.406 WARN - POST
 /selenium-server/driver/?seleniumStart=true&localFrameAddress=top&seleniumWindowName=&uniqueId=sel_88577&sessionId=e5ec6a1f41494774aa41dce244ca13d3&counterToMakeURsUniqueAndSoStopPageCachingInTheBrowser=1323846594765&sequenceNumber=6052
 HTTP/1.1
 java.lang.OutOfMemoryError: Java heap space
 Exception in thread "SocketListener0-0" java.lang.OutOfMemoryError: Java
 heap space

Mike Riley

  • Web User
Re: selenium - out of memory
« Reply #1 on: April 02, 2012, 08:20:31 PM »
Which version of Selenium?
 Since this appears to be in server code it could be you ran into
 memory leakage, several of which were repaired in 2.14.0 recently.
 
You can also consider giving java a command line option to allocate
 more heap space if this happens on a regular basis.
 
Mike
 
On Dec 14, 12:07 am, santhosh venkat <reach2santh...@gmail.com> wrote:
 

- Show quoted text -

 

Related Topics

  Subject / Started by Replies Last post
5 Replies
802 Views
Last post February 21, 2012, 06:38:01 PM
by Shane Duan
0 Replies
463 Views
Last post February 22, 2012, 06:43:54 PM
by Chad Woolley
6 Replies
1023 Views
Last post March 28, 2012, 03:17:09 PM
by Allen Rohner
9 Replies
1497 Views
Last post April 01, 2012, 02:22:13 PM
by François Reynaud
3 Replies
900 Views
Last post April 01, 2012, 07:01:14 PM
by jarhorn
2 Replies
630 Views
Last post April 15, 2012, 05:04:43 PM
by bs
1 Replies
1150 Views
Last post June 25, 2012, 07:26:42 AM
by sdarshanam

Review www.seleniumwebdriver.com on alexa.com