Comment #1 on issue 2221 by [email protected]: Memory leak when setting the InternalFieldCount of an ObjectTemplate >0
http://code.google.com/p/v8/issues/detail?id=2221
Setting InternalFieldCount creates FunctionTemplate for a constructor of an ObjectTemplate and instantiated FunctionTemplates are cached and never garbage collected.
I don't think creating FunctionTemplates in a loop is an supported API use case.
-- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
