Hi,
Below is the action I am performing .
Run program as TestGtkEmbed .
An Url is loaded by supplying the URL.( I am giving an URL inside
an intranet .)
It can be unloaded by giving ‘about:blank’.
memory is noted each time the same URL is loaded .
Other than top I am giving the /proc/$pid/status Info on doing
this 3 times . You can see that the last
status shows the increase in memory mapped to the process- VmRSS .
status when loading Internal URL.
Name: TestGtkEmbed
State: S (sleeping)
Tgid: 16276
Pid: 16276
PPid: 16240
TracerPid: 0
Uid: 0 0 0 0
Gid: 0 0 0 0
FDSize: 256
Groups: 0 1 2 3 4 6 10
VmSize: 219680 kB
VmLck: 0 kB
VmRSS: 203348 kB
VmData: 201120 kB
VmStk: 100 kB
VmExe: 20 kB
VmLib: 15984 kB
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000080000000
SigIgn: 0000000000001000
SigCgt: 0000000380000000
CapInh: 0000000000000000
CapPrm: 00000000fffffeff
CapEff: 00000000fffffeff
status when loading about:blank
Name: TestGtkEmbed
State: S (sleeping)
Tgid: 16276
Pid: 16276
PPid: 16240
TracerPid: 0
Uid: 0 0 0 0
Gid: 0 0 0 0
FDSize: 256
Groups: 0 1 2 3 4 6 10
VmSize: 65220 kB
VmLck: 0 kB
VmRSS: 51308 kB
VmData: 46660 kB
VmStk: 100 kB
VmExe: 20 kB
VmLib: 15984 kB
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000080000000
SigIgn: 0000000000001000
SigCgt: 0000000380000000
CapInh: 0000000000000000
CapPrm: 00000000fffffeff
CapEff: 00000000fffffeff
status when loading Internal URL
[/ 16276]#cat status
Name: TestGtkEmbed
State: S (sleeping)
Tgid: 16276
Pid: 16276
PPid: 16240
TracerPid: 0
Uid: 0 0 0 0
Gid: 0 0 0 0
FDSize: 256
Groups: 0 1 2 3 4 6 10
VmSize: 216356 kB
VmLck: 0 kB
VmRSS: 204172 kB
VmData: 197796 kB
VmStk: 100 kB
VmExe: 20 kB
VmLib: 15984 kB
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000080000000
SigIgn: 0000000000001000
SigCgt: 0000000380000000
CapInh: 0000000000000000
CapPrm: 00000000fffffeff
CapEff: 00000000fffffeff
status when loading about:blank
[/: 16276]#cat status
Name: TestGtkEmbed
State: S (sleeping)
Tgid: 16276
Pid: 16276
PPid: 16240
TracerPid: 0
Uid: 0 0 0 0
Gid: 0 0 0 0
FDSize: 256
Groups: 0 1 2 3 4 6 10
VmSize: 64320 kB
VmLck: 0 kB
VmRSS: 52336 kB
VmData: 45760 kB
VmStk: 100 kB
VmExe: 20 kB
VmLib: 15984 kB
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000080000000
SigIgn: 0000000000001000
SigCgt: 0000000380000000
CapInh: 0000000000000000
CapPrm: 00000000fffffeff
CapEff: 00000000fffffeff
status when loading Internal URL
[/: 16276]#cat status
Name: TestGtkEmbed
State: S (sleeping)
Tgid: 16276
Pid: 16276
PPid: 16240
TracerPid: 0
Uid: 0 0 0 0
Gid: 0 0 0 0
FDSize: 256
Groups: 0 1 2 3 4 6 10
VmSize: 226172 kB
VmLck: 0 kB
VmRSS: 213416 kB
VmData: 207612 kB
VmStk: 100 kB
VmExe: 20 kB
VmLib: 15984 kB
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000080000000
SigIgn: 0000000000001000
SigCgt: 0000000380000000
CapInh: 0000000000000000
CapPrm: 00000000fffffeff
CapEff: 00000000fffffeff
cheers,
Shiv
Christopher Blizzard wrote:
> We'll need more data than that. Like, what URL? How many times?
> Different URLs? Do you have more data other than what top tells you?
>
> --Chris
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding