Open aml11 opened 7 years ago
@aml11 thanks for bringing this up. We're aware of the EventEmitter memory leak and have a fix coming for it soon.
This seems to have been fixed in 1.3, so I think we can close this.
Still getting the same error
Also getting this with node v8.8.1
any updates on this? getting the same warning
+1
I am also getting this issue currently.
Is there a workaround suggested?
@dlumma Does it use less memory if i deploy chromeless to aws?
Getting the same warning
I solved this warning with next code: require('events').EventEmitter.defaultMaxListeners = 30;
.
But I still have performance issue (my script executing during 20-30 seconds on AWS) as it was with the warning.
When reusing the same Chromeless proxy object I get
MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 message listeners added. Use emitter.setMaxListeners() to increase limit
This is consistent and can be easily reproduced using this snippet:
Will output:
I deployed version Chromeless version 1.0.1 (due to #99 ) both locally and remotely.