diff --git a/implementation-contributed/v8/mjsunit/regress/regress-crbug-178790.js b/implementation-contributed/v8/mjsunit/regress/regress-crbug-178790.js
index 25cc96b852effd4b7e4d10a72d1b28911fe8e0a8..f04b6068a8d6f5307ce5344017ee8db76de697df 100644
--- a/implementation-contributed/v8/mjsunit/regress/regress-crbug-178790.js
+++ b/implementation-contributed/v8/mjsunit/regress/regress-crbug-178790.js
@@ -25,6 +25,8 @@
 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
+// Flags: --stack-size=1200
+
 // Create a regexp in the form of a?a?...a? so that fully
 // traversing the entire graph would be prohibitively expensive.
 // This should not cause time out.