Selenium Memory Leak issue in IPad 6.1 device

22 views
Skip to first unread message

mahendr...@gmail.com

unread,
Sep 26, 2013, 4:47:52 AM9/26/13
to seleniu...@googlegroups.com
Hi All ,

I am trying to capture screenshot continuously.It capture screen 31 times and after that it crashed.
I have changed the below function and release the memory .Now it work 340 times and then it crashed.The performance get improved .

 - (void)createResponse {
  [response_ release];
  
  if ([value_ isKindOfClass:[UIImage class]])
  {
      NSData *data =UIImagePNGRepresentation(value_);
      [value_ release];
      value_ = [data base64EncodedString];
      
   // value_ = [UIImagePNGRepresentation(value_) base64EncodedString];
  }
  NSDictionary *dict = [self convertToDictionary];
  response_ = [[HTTPJSONResponse alloc] initWithObject:(id)dict];
}

In iOS, use the Product-Profile tool for found the memory leak.Now this tool shows more memory leak in below function.

[SBJsonStreamWriter init]
[SBJsonStreamWriter datawithobject]

Is there any memory leak issue with Selenium?


Krishnan Mahadevan

unread,
Sep 27, 2013, 8:04:21 AM9/27/13
to Selenium Users
Mahendra,

Why not log an issue here ? 




Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/


--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/cb8e708d-c2c2-4e9f-877f-3753e9a76549%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Luke Inman-Semerau

unread,
Sep 27, 2013, 4:41:23 PM9/27/13
to seleniu...@googlegroups.com
Looks like they are using the (deprecated) iPhoneDriver, as ios-driver and appium don't use any Objective-C
Reply all
Reply to author
Forward
0 new messages