Opened 12 years ago
Closed 12 years ago
#2197 closed defect (fixed)
memory pool is to small for many function calls with array arguments
Reported by: | Willi Braun | Owned by: | Martin Sjölund |
---|---|---|---|
Priority: | high | Milestone: | 1.9.0 |
Component: | Code Generation | Version: | trunk |
Keywords: | Cc: | Adrian Pop, Martin Sjölund |
Description
For example take the model testsuite/simulation/modelica/linear_system/linear_system.problem1
and increase the model size by the parameter N to 40.
The simulation results for me into a segmentation fault.
The model works well when I increase the size of the memory pool.
Change History (2)
comment:1 by , 12 years ago
Owner: | changed from | to
---|---|
Status: | new → accepted |
comment:2 by , 12 years ago
Component: | Backend → Code Generation |
---|---|
Resolution: | → fixed |
Status: | accepted → closed |
Fixed code generation in r16209.
Note:
See TracTickets
for help on using tickets.
This is not due to the memory pool being to small. It is due to initialisation not free'ing memory after it is done using it.