POWERVR Insider FAQ   Forum FAQ Forum FAQ  Forum Search   Calendar   Register Register  Login Login

Memory leak in PVRTune?

 Post Reply Post Reply
Author
  Topic Search Topic Search  Topic Options Topic Options
TomCooksey View Drop Down
Insider
Insider


Joined: 29 Apr 08
Online Status: Offline
Posts: 17
  Quote TomCooksey Quote  Post ReplyReply Direct Link To This Post Topic: Memory leak in PVRTune?
    Posted: 02 Apr 09 at 12:59pm
I'm trying to play with the PVRTune application provided as part of the PowerVR SDK from TI for the OMAP Zoom1 device. I'm got the sgx_perf_server running on the device & when I connect to it, the device says:

Accepted connection from 172.24.90.21...                                      
Connected.                                                                    

However I'm having some trouble with the PVRTune application. It seems to have a memory leak as it hangs and very quickly takes up >2GB of virtual memory. Exactly the same happens on both the Linux and the Windows PVRTune.

Is this a known issue? Is there a fix anywhere?


Cheers,

Tom


PS: You really should consider writing PVRTune using Qt.

Back to Top
Gordon View Drop Down
IMG Staff Admin
IMG Staff Admin
Avatar

Joined: 05 Mar 08
Location: Kings Langley
Online Status: Offline
Posts: 348
  Quote Gordon Quote  Post ReplyReply Direct Link To This Post Posted: 02 Apr 09 at 2:27pm
This is actually something we noticed last week at GDC and I believe it to be a fairly recent addition/problem in the code.

We've added the issue to our tracking system (BRN26958) and someone will post back here when it's resolved.

(Point about Qt noted.)

Gordon MacLachlan - POWERVR Developer Technology
Back to Top
TomCooksey View Drop Down
Insider
Insider


Joined: 29 Apr 08
Online Status: Offline
Posts: 17
  Quote TomCooksey Quote  Post ReplyReply Direct Link To This Post Posted: 03 Apr 09 at 8:24am
I've just tried again with a PVRTune executable from a 2008 SDK and had the same problem. Perhaps it's actually the sgx_perf_server which is causing it? Although the app should still not behave like this.
Back to Top
Gordon View Drop Down
IMG Staff Admin
IMG Staff Admin
Avatar

Joined: 05 Mar 08
Location: Kings Langley
Online Status: Offline
Posts: 348
  Quote Gordon Quote  Post ReplyReply Direct Link To This Post Posted: 03 Apr 09 at 12:03pm
It looks like the problem is less recent than I thought...

The engineer who works on this is away at the moment, but I've no doubt this issue will be high on his priorities when he gets back. Thanks for reporting these problems.
Gordon MacLachlan - POWERVR Developer Technology
Back to Top
Aaron View Drop Down
IMG Staff Member
IMG Staff Member
Avatar

Joined: 23 Apr 08
Online Status: Offline
Posts: 21
  Quote Aaron Quote  Post ReplyReply Direct Link To This Post Posted: 16 Mar 10 at 4:18pm
Originally posted by TomCooksey

It seems to have a memory leak as it hangs and very quickly takes up >2GB of virtual memory.


It sounds to me like you're actually seeing an old fixed bug (BRN26954 or BRN25519). From what you've said I think the issue that Gordon is referring to (BRN26958) is different (and is fixed for the 2.6 release).

1) Does this hang happen as soon as the connection is made or do you see data arriving for a while first?
2) Can you list the version of your SDK, DDK, PVRTune and SGXPerfServer?

Thanks,
Aaron.


Edited by Aaron - 16 Mar 10 at 4:19pm
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Bulletin Board Software by Web Wiz Forums® version 9.08
Copyright ©2001-2008 Web Wiz

This page was generated in 0.094 seconds.

Disclaimer: This Forum is opened by Imagination Technologies to foster a dynamic dialogue with developers. The opinions expressed within this forum are not those of Imagination Technologies. Imagination Technologies also reserves the right to edit or withdraw any content on this forum that is deemed inappropriate by Imagination Technologies and to not be in the best interests of our developer community.