# Large Scripts cause Toad to HANG/Crash

**URL:** <https://forums.toadworld.com/t/large-scripts-cause-toad-to-hang-crash/49083>\
**Category:** Toad Edge\
**Created:** [February 18, 2020, 6:53pm UTC](https://forums.toadworld.com/t/large-scripts-cause-toad-to-hang-crash/49083 "2020-02-18T18:53:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![klockk](https://avatars.discourse-cdn.com/v4/letter/k/bc8723/32.png) [@klockk](https://forums.toadworld.com/u/klockk)\
**Post date:** [February 18, 2020, 6:53pm UTC](https://forums.toadworld.com/t/large-scripts-cause-toad-to-hang-crash/49083/1 "2020-02-18T18:53:14Z")

</div>

Anybody else have issues with adding large SQL Scripts to the Toad Edge Editor... targeting Aurora Postgres DB.... Then when I go to Execute said LARGE script with MANY Statements in it.... then Toad Edge often starts processing the statements and then just HANGS.... unresponsive.... only thing I can do is close it... to which it throws and error, and asks if I want to send an error report... to which I respond YES....

This is VERY repeatable....

Say I perform a query in an Oracle DB and export the resultant data set as INSERT Statements, then paste into Toad Edge Editor... maybe 1400 Insert Statements... then tell Toad Edge to execute ALL statements.... it might get into it about 300 statements or so, and just hang..... ☹

---

<div class="post-metadata">

**Author:** ![Miroslav.Stanik](https://avatars.discourse-cdn.com/v4/letter/m/a4c791/32.png) [@Miroslav.Stanik](https://forums.toadworld.com/u/Miroslav.Stanik)\
**Post date:** [March 13, 2020, 12:31am UTC](https://forums.toadworld.com/t/large-scripts-cause-toad-to-hang-crash/49083/2 "2020-03-13T00:31:04Z")

</div>

Hi, are there specific statements types or whatever?  
thanks  
br.  
Miroslav Stanik

---

<div class="post-metadata">

**Author:** ![klockk](https://avatars.discourse-cdn.com/v4/letter/k/bc8723/32.png) [@klockk](https://forums.toadworld.com/u/klockk)\
**Post date:** [March 16, 2020, 6:09pm UTC](https://forums.toadworld.com/t/large-scripts-cause-toad-to-hang-crash/49083/3 "2020-03-16T18:09:18Z")

</div>

In my particular use case I had a script of MANY individual insert statements..... in MOST cases it would only make it through a few of them...… (40-80 out of 500 or more?) and then stall.....

I have noticed that it would seem like if I highlighted all of them it was more likely to crash as opposed to just selecting run all statements in the editor...
