Importing inventory pushes the OS to out-of-memory condition when many Stock Moves exist

Bug #1312045 reported by Lionel Sausin - Initiatives/Numérigraphe
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Confirmed
Undecided
Numérigraphe
OpenERP Community Backports (Addons)
Fix Released
Low
Numérigraphe
OpenERP new WMS
New
Undecided
Unassigned

Bug Description

Using v6.0 we're having problems importing an inventory for a location that contains >630000 Stock Moves.
The problem seems to lie in the python loop based on the browse() of the Stock Moves: it preloads too much data and pushes the OS to an out-of-memory condition (which Linux responds to by killing the openerp server).

Related branches

Revision history for this message
Lionel Sausin - Initiatives/Numérigraphe (ls-initiatives) wrote :

I'm rather confident there is no such problem in trunk-wms but I would love if someone from the R&D team would be so kind as to confirm it's fixed.
We have not yet tested if v7 is affected, we'll report here if it is.

Changed in openobject-addons:
assignee: nobody → Numérigraphe (numerigraphe-team)
Changed in ocb-addons:
assignee: nobody → Numérigraphe (numerigraphe)
importance: Undecided → Low
Changed in ocb-addons:
status: New → Confirmed
Changed in openobject-addons:
status: New → Confirmed
Changed in ocb-addons:
assignee: Numérigraphe (numerigraphe) → Numérigraphe (numerigraphe-team)
summary: - Importing inventory pushes the OS to OOM condition when many Stock Moves
- exist
+ Importing inventory pushes the OS to out-of-memory condition when many
+ Stock Moves exist
Changed in ocb-addons:
status: Confirmed → Fix Committed
Changed in ocb-addons:
status: Fix Committed → In Progress
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.