There is not problem with task payload size. I only need to know exactly what
is limit. For me it is same to test if (task.length > maxTaskSizeBytes()) or
if (task.length > 10000). I am using Vince Bonfanti's slightly modified
Deferred class and if task payload size is above maxTaskSizeBytes() it is
stored in datastore. But task enqueue is preferred operation instead of
datastore store and delete statement.

Matija.

On Mon, Feb 14, 2011 at 6:12 PM, Robert Kluin <[email protected]>wrote:

> Hi Matija,
>  The maximum task payload size is 10k.
>
> http://code.google.com/appengine/docs/java/taskqueue/overview.html#Quotas_and_Limits
>
>  Try to compress your data or find a more efficient serialization
> method -- or both.  In Python I use bzip to compress 'large' payloads.
>
>
> Robert
>
>
>
>
>
>
> On Mon, Feb 14, 2011 at 09:51, Matija <[email protected]> wrote:
> > What is exact meaning of this value: MAX_TASK_SIZE_BYTES = 10240
> > I don't know if this was new issue with 1.4.2 or simply my
> > misunderstanding.
> > Does this means max task payload or something else ? If it is something
> else
> > what is then max_task_payload_size and how can I calculate it ?
> > I want to enqueue task with 10192 bytes payload size and gae
> > throws java.lang.IllegalArgumentException: Task size too large
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google App Engine" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected].
> > For more options, visit this group at
> > http://groups.google.com/group/google-appengine?hl=en.
> >
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to