← Back to team overview

openerp-community-reviewer team mailing list archive

[Bug 1312045] Re: Importing inventory pushes the OS to out-of-memory condition when many Stock Moves exist

 

** Changed in: ocb-addons
       Status: Fix Committed => In Progress

** Changed in: ocb-addons
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of OpenERP
Community Backports, which is subscribed to OpenERP Community Backports
(Addons).
https://bugs.launchpad.net/bugs/1312045

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

Status in OpenERP Community Backports (Addons):
  Fix Released
Status in New OpenERP WMS:
  New
Status in Odoo Addons:
  Confirmed

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).

To manage notifications about this bug go to:
https://bugs.launchpad.net/ocb-addons/+bug/1312045/+subscriptions