Thank for the help,
I found out in the MQX Memory Pool - Box that my RAM gets filled with a lot of Event connections Objects.
My ISR looked like this:
void I2C_Sensor_OnMasterBlockReceived(LDD_TUserData *UserDataPtr)
{
pointer i2c_isr_event_ptr;
_event_open_fast(1, &i2c_isr_event_ptr);
_event_set(i2c_isr_event_ptr, 0x02);
}
So every time i get an Interrupt I opened a new event connection.
So i know what the problem is, but the _event_close funktion is not allowed to be called from an ISR.
I tried to make the event handler a public variable and open it only at the init of my task, that worked, but i think there must be a better way than a global variable....