---
# System prepended metadata

title: NU-30109 OOM ISSUE Bulk Operations

---

# NU-30109 OOM ISSUE Bulk Operations

## Whats causing the issue?
Copy-pasting into a lot of cells/rows can normally generate a single operation for each sell pasted into.

In the example showed the ticket the result is aprox. 28k of operations and the ammount of work we need to perfom this on the front-end makes the UX the nightmare we have.

But that does not only happen when you're copy/pasting

If you edit a deliverie cell for example: sometimes the app freezes for 1/2 secs and that comes from the same problem. This single user interaction generate 500 operations sometimes.

## Proposal

Intestead of working on fixing the specific issue raised on the ticket we could develop optimized operations that would not only affect the specific interaction on the ticket, but also work on other user interactions that are also slow. Below we have some options:

### Create a operation specialized that overwrites the whole allocation bag

This operation would be focused to only update values on the allocation bag

### Create a operation that overwrites the whole item in the bag

This operation would be focused to only update values of a single row. IE: if we update the deliverie col of 6 products we would have 6 operations inteasted of `6 x deliverie x doors`

### Create an operation that handle copy paste/multiple rows

This operations could be called sending data for a big part of the assortment/snapshot updating multiple products in the bag.
