AdWords API use user.getService(XXX) frequently, and can't release the memory!

2010-01-12 Thread hongyu...@gmail.com
user.getService(XXX) has been called frequently, and memory is high,
any others meet the same problem?

I'm using Java client library v6.3.0, Is anywhere need to be paid
attention for release memory.

I just have one AdwordUser instance.

Any one can help ?
-- 
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-...@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.




AW: AdWords API use user.getService(XXX) frequently, and can't release the memory!

2010-01-12 Thread Tino Hertlein
Hi!

Since 6.2.0 there exists a removeService-method in the 
ServiceAccountantManager. 

Calling this method should remove all references to the service in order for it 
to be garbage collected.
(from http://code.google.com/p/google-api-adwords-java/source/detail?r=119)


Did you already try that?


Tino

--
Refined Labs GmbH
Landwehrstraße 17
80336 München
Tel +49 89 1392879-0
t...@refinedlabs.com
http://www.refinedlabs.com

Sitz: München
AG München HRB 166589
Geschäftsführer:
Thomas Bindl, Stephan Seitz

-Ursprüngliche Nachricht-
Von: adwords-api@googlegroups.com [mailto:adwords-...@googlegroups.com] Im 
Auftrag von hongyu...@gmail.com
Gesendet: Dienstag, 12. Januar 2010 09:32
An: AdWords API Forum
Betreff: AdWords API use user.getService(XXX) frequently, and can't release the 
memory!

user.getService(XXX) has been called frequently, and memory is high, any others 
meet the same problem?

I'm using Java client library v6.3.0, Is anywhere need to be paid attention for 
release memory.

I just have one AdwordUser instance.

Any one can help ?
-- 
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-...@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.




Re: AdWords API use user.getService(XXX) frequently, and can't release the memory!

2010-01-12 Thread Hongyu Li
Got that, I didn't use ServiceAccountantManager.

thanks a lot.

On Tue, Jan 12, 2010 at 5:03 PM, Tino Hertlein t...@refinedlabs.com wrote:

 Hi!

 Since 6.2.0 there exists a removeService-method in the
 ServiceAccountantManager.

 Calling this method should remove all references to the service in order
 for it to be garbage collected.
 (from http://code.google.com/p/google-api-adwords-java/source/detail?r=119
 )


 Did you already try that?


 Tino

 --
 Refined Labs GmbH
 Landwehrstraße 17
 80336 München
 Tel +49 89 1392879-0
 t...@refinedlabs.com
 http://www.refinedlabs.com

 Sitz: München
 AG München HRB 166589
 Geschäftsführer:
 Thomas Bindl, Stephan Seitz

 -Ursprüngliche Nachricht-
 Von: adwords-api@googlegroups.com [mailto:adwords-...@googlegroups.com] Im
 Auftrag von hongyu...@gmail.com
 Gesendet: Dienstag, 12. Januar 2010 09:32
 An: AdWords API Forum
 Betreff: AdWords API use user.getService(XXX) frequently, and can't release
 the memory!

 user.getService(XXX) has been called frequently, and memory is high, any
 others meet the same problem?

 I'm using Java client library v6.3.0, Is anywhere need to be paid attention
 for release memory.

 I just have one AdwordUser instance.

 Any one can help ?

 --
 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-...@googlegroups.com.
 To unsubscribe from this group, send email to
 adwords-api+unsubscr...@googlegroups.comadwords-api%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/adwords-api?hl=en.




-- 

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-...@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.