[teregen] Out of memory exception during template generation
A problem during generating S:M:20293:244297 occurred, the script end up with Out of memory exception; initial observation shows, there is a lot of source packages inside that incident and all the data from OBS and SMELT cannot probably fit inside the tight memory limit on qam2; I was able to generate the template locally (it took around 1.2GB for processing).
Simple memory optimization would be nice. The current code stores all data (even the useless one) in memory, it would be probably nice to only store relevant data. Another solution might be to store some of the info in a temporal file when needed.
Updated by jbaier_cz over 2 years ago
- Status changed from New to Resolved
As discussed, more memory was requested in RT-ADM#194611. That should do the trick, at least for now.
qam2:~ # free -h total used free shared buff/cache available Mem: 15Gi 5,2Gi 8,0Gi 938Mi 2,5Gi 9,3Gi Swap: 0B 0B 0B