Opened 12 years ago

Closed 11 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 Martin Sjölund, 11 years ago

Owner: changed from probably noone to Martin Sjölund
Status: newaccepted

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.

comment:2 by Martin Sjölund, 11 years ago

Component: BackendCode Generation
Resolution: fixed
Status: acceptedclosed

Fixed code generation in r16209.

Note: See TracTickets for help on using tickets.