tracker issue : CF-3431489

select a category, or use search below
(searches all categories and all time range)
Title:

CF10 - Perm Gen memory filling up

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/NotABug

Reporter/Name(from Bugbase): / ext-user (Swaraj Kumar Mitra)

Created: 12/18/2012

Components: Web Services, General

Versions: 10.0

Failure Type: Unspecified

Found In Build/Fixed In Build: 283319 /

Priority/Frequency: Trivial / Unknown

Locale/System: English / Mac 10 All,Win 2008 Server R2

Vote Count: 0

Problem:  Perm Gen memory filling up by using (refreshWSDL=true) for a CreatObject("webservice",...) that was called in the init of a CFC that a loop was creating thousands of transient instances of.

Method: 1. Keep all files index.cfm, timer.cfm and Application.cfc in the website.
2. Call index.cfm page in the browsers like http://localhost/index.cfm

Result: In the ColdFusion Administrator memory tracking it will reflect the results. If you make refreshwsdl = false in the page index.cfm then memory usage will slow down

Expected: It should not give me perm gen error

Workaround: Should not use refreshWSDL=true while CreateObject loop

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3431489

External Customer Info:
External Company:  
External Customer Name:  
External Customer Email:

Attachments:

Comments:

Hi, refreshWSDL should be specified as true only if there are any changes in your web service. When you specify refreshWSDL to true, ColdFusion will think service is changed and so it gets the latest WSDL and generates the new client-side stub and further requests will be served using that stub. it also has performance implications. So, It is not recommended to use in production environment. Regards, Nimit
Comment by Nimit S.
16884 | August 28, 2014 06:22:06 AM GMT