I found another reason for the above problem.
I had problems with vi not being included in the build. After I cleared the graphs (with lots of default data) the size of the vi that was causing problems shrunk from 10Mb to 0,5Mb and the problem was gone.
Maybe that helps anybody.