When i write coding my studio crash

the problem happend when the code has more 1k line arounded.
Idk if this is only for me or just about my processor.