Hi Vincent,
  Your comment about increasing the memory intrigues me.  It's possible 
that you have an infinite loop that is making requests and storing objects 
in memory until it runs out of heap space and dies.  The JVM is very poor 
about reporting these types of errors in a nice fashion.

To take a complete stab in the dark, are you by any chance requesting 
CampaignCriterion with paging?  Are you furthermore incrementing your 
startIndex by the number of CampaignCriterion in the response?  If so, you 
may be affected by a known issue where the reported totalNumEntries is 
incorrectly returning a higher number than it should (making it look like 
there is always more entries).  We recommend incrementing the startIndex by 
the PAGE_SIZE and halting the loop when startIndex > totalNumEntries.

If none of the above makes sense, I would suggest the next step is to look 
for a loop in your task and see if there's any reason it might not 
terminate (having it log the conditions being checked for termination each 
iteration would be a good starting point).

- Kevin Winter
AdWords API Team

On Tuesday, March 6, 2012 6:44:49 AM UTC-5, Vincent wrote:
>
> Hi Kevin,
>
> Thank you for your response.
> After further investigations, the problem is very hard to track down for 
> me:
> - It is only a production problem
> - It is quite erratic: I do not manage to make a simple code which always 
> reproduces the error
> - The bug "needs" the code to run for some time to appear. I can't make it 
> appear without using a Task. When it appears in a Task, the task runs for 
> 20 minutes (I did not know this was possible) before dying silently without 
> any logging.
> - It seems to be a memory related issue as increasing the instance memory 
> size increases the time before the instance crashes. Also, after the 
> instance has crashed, the new instance can always process some new tasks 
> (number depending on instance memory size) before dying again.
>
> I'll continue digging into this until I can create a simple code 
> reproducing the issue.
>
> Best,
>
> Vincent
>

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

Reply via email to