Blender crashes while running script

hey guys,
I wrote a script which contains a few objects that are associated with some operators. The problem is that Blender crashes while pressing “run script”. I also tried a faster computer… -same there. If I deleate some of the objects it works perfect. Obviously it makes no difference what objects I do delete.
So I think perhaps the problem is a buffer overflow. Any ideas how to prevent this? How can I give Blender more workspace?
thanks

http://blenderscripting.blogspot.nl/2012/07/debugging-python-scripts-for-blender.html <-- debug switch

i tend to use this switch if i can’t figure something out.