whizard is hosted by Hepforge, IPPP Durham

Opened 9 years ago

Closed 8 years ago

Last modified 8 years ago

#776 closed enhancement (fixed)

Out of Memory in Event Generation

Reported by: cweiss Owned by: kilian
Priority: P3 Milestone: v2.4.0
Component: phase_space Version: 2.2.8
Severity: normal Keywords:
Cc:

Description

The memory usage of Whizard increases continuously increases until the process is killed. This was first observed in the context of NLO event generation, but also occurs e.g. for the process ee -> Zbb for n_events > 4M.

The process will be executed with the nagfor memory tracing option. Maybe this gives some information.

Change History (8)

comment:1 Changed 9 years ago by Juergen Reuter

Could this be even related to the pointer problem in #772?

comment:2 Changed 9 years ago by kilian

I also suspect that this is caused by the broken polarization assignment, unless it turns out to be an old problem. If true, this will go away with the reimplementation as promised in #772.

You may check if the problem is already present in version, say, before r7461.

comment:3 Changed 9 years ago by cweiss

The memtrace shows that a lot of objects of the state matrices are not finalized. This probably yields the memory leak. Therefore, I do not think that this problem is related to #772. However, we should wait until WK's refactoring is finished before we address this issue.

comment:4 in reply to:  3 Changed 9 years ago by kilian

Replying to cweiss:

The memtrace shows that a lot of objects of the state matrices are not finalized. This probably yields the memory leak. Therefore, I do not think that this problem is related to #772. However, we should wait until WK's refactoring is finished before we address this issue.

Yes, those state matrices are our Sorgenkind ...

Refactoring would be necessary - but is out of question currently, there are more urgent tasks on the agenda, given limited manpower. Just notice that #395 would benefit from a generalization of the interactions data structure, so there is at least some more concrete motivation.

comment:5 Changed 8 years ago by Juergen Reuter

Milestone: v2.3.0v2.3.1

comment:6 Changed 8 years ago by Juergen Reuter

Component: corephase_space
Milestone: v2.3.1v2.3.2

comment:7 Changed 8 years ago by cweiss

Resolution: fixed
Status: newclosed

comment:8 Changed 8 years ago by Juergen Reuter

Milestone: v2.3.2v2.4.0

Milestone renamed

Note: See TracTickets for help on using tickets.