DEVSERVER ERROR: regular expression code size limit exceeded

44 views
Skip to first unread message

Brian Becker

unread,
Mar 30, 2012, 11:13:35 AM3/30/12
to google-a...@googlegroups.com
My regular expression is 47k. 

I get this error when running on the DevServer but it runs fine on GAE. 

How can I increase the size of the Regular Expression limit on the DevServer?

Brian Becker

unread,
Apr 12, 2012, 11:12:06 AM4/12/12
to google-a...@googlegroups.com
I still need an answer to this. The RegEx runs great on GAE but not in the DevServer because it gives "regular expression code size limit exceeded" 

And yes, my RegEx is actually 47k.

Matthew Jaggard

unread,
Apr 12, 2012, 11:17:07 AM4/12/12
to google-a...@googlegroups.com
Wow, that's some crazy regex.

Can you confirm that it runs correctly on your local JVM outside of the DevServer. If not, then this isn't a GAE issue - you need to find out why from your JVM provider. Maybe Google use 64bit and you use 32bit? Or different vendors (OpenJDK vs Sun vs whatever)?

Mat.

--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/vr3AW3QJnv0J.
To post to this group, send email to google-a...@googlegroups.com.
To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.

Brian Becker

unread,
Apr 12, 2012, 12:51:05 PM4/12/12
to google-a...@googlegroups.com

Whoops – detail missing: This is Python.

 

The code is very complex…I’m not sure how easy it will be to run it outside the DevServer. Is that really the only way to figure this out?

Barry Hunter

unread,
Apr 12, 2012, 12:59:54 PM4/12/12
to google-a...@googlegroups.com
On Thu, Apr 12, 2012 at 5:51 PM, Brian Becker <br...@semo.net> wrote:
> Whoops – detail missing: This is Python.
>
>
>
> The code is very complex…I’m not sure how easy it will be to run it outside
> the DevServer. Is that really the only way to figure this out?

Well you dont need to run the whole code. Just extract the regular expression.

But you really do need to narrow it down to where the underlying issue
is. Removing components from the situation is a good way to narrow it
down. Repeat until find the exact cause. Sort of a binary search :)

Reply all
Reply to author
Forward
0 new messages