Martin Ždila

Results 129 comments of Martin Ždila

Dockerfile: ```FROM alpine:edge RUN apk add --update nodejs npm gcompat RUN mkdir /test WORKDIR /test RUN npm init -y RUN npm i --save mapnik RUN echo "require('mapnik').register_default_input_plugins();" > index.js ```...

Great, thanks! Anyway we already use debian-based containers but we'll definitively use your instructions if we decide to switch to alpine :-) Not sure whether I should close this issue...

I am not sure if this issue affects only image or other types, for example `mapnik.Map`, `mapnik.Color`. Also if `image.resize()` returns new image then maybe it is also never freed.

@springmeyer I can reproduce the testcase also in version 4.5.2 (eats 16GB ram in 4 seconds and then starts to swap).

Thanks for the explanation. To prevent memory leaks we already implemented reusing `mapnik.Image` instances in [our project](https://github.com/FreemapSlovakia/freemap-mapserver).

Workaround is to migrate to emotion where it is supported (`css` property with TypeScript).

@rwieruch for Emotion we don't need this library. There it somehow works out of the box.

That _someone_ is AWS EB deploy script. We've never deployed our app on the server in other way than `eb deploy` from remote machine. I've tried to `rm -rf /tmp/.npm`...

Here they have the same problems: https://github.com/mapnik/node-mapnik/issues/659.

Thanks for mentioning `pluginInfo`. Still in our case we use no `iframe` and logic simillar to `detectRTC.html` is directly in our main JS. Currently we use following regexps to patch...