-
Notifications
You must be signed in to change notification settings - Fork 165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tests of V8::AdjustAmountOfExternalAllocatedMemory #119
Comments
These test could also do timing tests of small batches of allocations vs large batches of cached image/grid allocations to try to get at any scenarios where it is not useful to actually hint to v8 about external memory. |
Another thing I noticed while looking at those calls is that you're advertising more allocations in the copy-constructor, but it wasn't evident that the copy was really copying anything rather than adding a new reference. I'm still around for a bit because I'm still getting an higher GC cost with node-0.7.9 than with 0.5.11 |
You mean If you are seeing higher GC cost, definitely just try commenting all usages of |
Yeah, that's what I meant. All good if it's another constructor. The cost I'm seeing is likely due to an high memory use, could very well be outside the node-mapnik module (I've seen a global "cache" in tilelive somewhere but could also be in Windshaft or Windshaft-cartodb, don't worry about that here :) |
Yes tilelive/tilelive-mapnik caches "solid" images now by default to save on encoding. This again, is something that was added with batched rendering in mind, so it may be beneficial to disable it for different serving scenarios. |
closing, not planning on adding any more tests rather if I do anything I'd remove this code: #368 |
Need tests to ensure proper usage of
V8::AdjustAmountOfExternalAllocatedMemory
and expected behavior to prevent #116 from regressing.The text was updated successfully, but these errors were encountered: