2
votes

My Question is: Is anyone else having bad memory leaks with OpenERP when using MS Internet Explorer? If so, what have you done about it?

Background:

I can see the memory grow by ~5--10 MB every time I load a page. Within a few hours IE gets up to ~1 GB. It's bad enough to require a browser re-start every hour or two. It looks like the browser just creates new fields, widgets, etc... every time a page is loaded, and never gets rid of them or re-uses them.

It's the same when I'm running the server on my personal computer, a local server, or using the OpenERP demo from http://demo.openerp.com/web/webclient/home.

Also, memory use is bad with other browsers (FF & Chrome), too, but IE is the worst. It happens whether I log in as admin, or a regular user. Logging out clears some memory, but not much.

1
What browser and web client versions are you using?Daniel Reis
IE 8, Chrome 23.0, Firefox 16.0.2, and whatever web client comes bundled with OpenERP 6.1 all-in-one. Also, the OpenERP server is run on my Windows box, and a Redhat enterprise Linux box, with the same memory problems on the browser.Jeff P.
Just a note: Firefox does the best -- it starts out around 125MB, and climbs a bit higher during use, but will settle back to close to 125MB. So, it seems to be freeing memory. IE and Chrome are still a problem. Especially IE, because all the users of the app will be on IE, so this is potentially a deal-breaker for OpenERP and me.Jeff P.
This is with OpenERP 6.1. With a single user (me) clicking away at various screens, adding BoMs and products, I get up to about 1GB memory use in IE8. This is not with heavy use, but not light use, either.Jeff P.

1 Answers

1
votes

I spent some time testing this, but I wasn't able to repeat what you're experiencing. I used Windows XP and tried Firefox 17, Chrome 19, and IE8.

Both Firefox and Chrome went up ~250 Mb on stress, but when idle eventually settled back to 130 - 150 Mb. IE8 also, but the memory footprint is higher (never below ~190 Mb).

My personal experience with IE8 and OpenERP web client is not the best: I find it slower, uglier (no rounded corners on buttons) and some things don't work (such as the Search's advanced filters).

I think your first choice migh be trying with later versions of IE: IE9 or even IE10.

Another option might be using OpenERP as a Chrome App: your users would open OpenERP web client by clicking on a desktop shortcut, and it's opened in dedicated a window that doesn't look like a browser, but it's actually running Chrome.