Hi,

In the extension I am working on I am letting the user create new tabs
to open urls in. When I start up the extension it sits comfortably at
around 5k memory usage (according to the task manager).

Sometimes when a new tab opens I can see that it gets its own row in
the taskmanager, displaying the memory usage for that tab only. This
is what I expect, and when I close the tab the memory is freed.

However, sometimes the tab opens in the same scope as the extension,
meaning that the memory usage of the extension increases from the
initial 5k to 25K+ depending on how heavy the site being opened is.
When I close this tab the memory isn't freed and the extension is now
consuming way too much memory that it should have to do.

How does these things work? Is this something I should worry about and
if so, how can I fix it?
The only thing I do really  is using code like this:

chrome.tabs.create({url: '" + theUrl + "'});
-- 
You received this message because you are subscribed to the Google Groups 
"Chromium-extensions" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/chromium-extensions?hl=en.


Reply via email to