Hi David,
System ID to be used : wince-500-ppc-arm
Thanks,
Lovish
----- Original Message -----
From: "Greg Wright" <gwright real.com>
To: "David Tang" <dtang88 hotmail.com>
Cc: <helix-client-dev helixcommunity.org>
Sent: Tuesday, August 14, 2007 8:05 PM
Subject: Re: [Helix-client-dev] Heap memory problem whenplay
ppcplayer(hxclient_1_4_2_neptunex) on Pocket PC device
> David Tang wrote:
>>> David Tang wrote:
>>>> branch: hxclient_1_4_2_neptunex_restricted
>>>> target: ppc_play
>>>> profile: helix-client-ppc
>>>>
>>>> When we play a local 192kbps mp3 file, the
Pocket PC's heap memory
>>>> increased
>>> about 34KB every seconds.
>>>> Any suggestion to fixed the problem?
>>> Does the memory even out after a minute or two?
It can be expected
>>> for memory to grow a little bit (as a
percentage) as playback
>>> starts and gets settled down.
>>
>> The heap memory will continuously increase when we
play mp3 file. If we
>> stop playback, heap memory will stop increasing.
>> If we play again, heap memory will continuously
increase again.
>> The allocated heap memory would not be free even we
close helixplayer.exe
>> player.
>
> If the memory is not freed when you close the player
then it
> usually means that the leak is not in that executable.
The
> operating system should reclaim all memory once an
executable
> exits. Could some of this memory usage be local disk
space?
>
>>
>>> I don't work on ppc_play, perhaps there is some
platform specific
>>> handles that are getting leaked, I would guess
in the /audio/device
>>> somewhere. I really doubt there is a leak in
the media engine itself,
>>> we use that cross platform code on many
different systems.
>>>
>>> Also 142NepX is a fairly old, have you tried
150Cay?
>>
>> We have built 142NepX version helixplayer.exe to
our Windows CE 5.0
>> device.
>> There is a heap memory problem when we play mp3 or
ra audio on both
>> Windows CE 5.0 device and HP iPAQ PocketPC device.
>> Below is our build system information.
>>
>> SYSTEM_ID=wince-300-ppc-arm
>> [0] Set BIF branch
(hxclient_1_4_2_neptunex_restricted)
>> [1] Set Target(s) (ppc_play)
>> [2] Set Profile (helix-client-ppc)
>>
>> We haven't tried 150Cay. We will try it.
>> Another question, which SYSTEM_ID is better for us?
wince-500-ppc-arm or
>> wince-300-ppc-arm?
>> Our hardware is a Windows CE 5.0 device.
>
> I am not sure, I do not work on WinCE.
>
> Also, take a look at the following defines and see if
> they are using in filesystem/http on your branch:
>
>
project.AddDefines('HELIX_FEATURE_HTTPFSYS_MEM_GROWTH_LIMIT'
)
>
project.AddDefines("CHUNK_RES_MEM_FLOOR=128000")
>
project.AddDefines("CHUNK_RES_MEM_CEILING=256000")
>
> If so, setting theses in your profile might help.
>
> --greg.
>
>>
>> Thanks.
>> David
>>
>>> --greg.
>>
>>
>> _______________________________________________
>> Helix-client-dev mailing list
>> Helix-client-dev helixcommunity.org
>> http://lists.helixcommunity.org/mailman/listinf
o/helix-client-dev
>
>
> _______________________________________________
> Helix-client-dev mailing list
> Helix-client-dev helixcommunity.org
> http://lists.helixcommunity.org/mailman/listinf
o/helix-client-dev
_______________________________________________
Helix-client-dev mailing list
Helix-client-dev helixcommunity.org
http://lists.helixcommunity.org/mailman/listinf
o/helix-client-dev
|