Comments (6)
I'll soon add a feature where you would be able to set how many maximum concurrent instance can be made.
from pdf2image.
@yakovmeister @akume Can you tell How to handle from memory leak problem?
from pdf2image.
I also have this issue. One solution is to bulk() in batches of 10. But how can I know the page count of the pdf to setup the loop?
from pdf2image.
I'm having the same problem and node tells me MaxListenersExceededWarning: Possible EventEmitter memory leak detected.
I would love to be able to configure a bulk batch size
from pdf2image.
me too. I'll resort to manually chunking the bulk requests
from pdf2image.
I'll soon add a feature where you would be able to set how many maximum concurrent instance can be made.
Hello @yakovmeister, any news on this ?
For now I'm forced use the following workaround (related to #95) :
let oldBase64;
while(true){
const { base64 } = await convert(page++, true);
if(oldBase64 && oldBase64 === base64){
// do something if last base64 was invalid
break;
}
else {
oldBase64 = base64;
// do something with current base64
}
}
Thanks
from pdf2image.
Related Issues (20)
- More info about params HOT 2
- Error write epipe Windows 10 HOT 5
- Density option is broken. HOT 3
- YOU DONT NEED THIS LIBRARY HOT 1
- bulk in version 2.2.0 HOT 2
- Convert buffer to base64 HOT 2
- Timestamp included in the base64 response HOT 1
- problem canvas HOT 3
- stream operator isn't terminated by valid EOL HOT 3
- Breaking Types HOT 1
- Error on processing more than 10 pages HOT 2
- Get image the same dimension as pdf HOT 2
- width and height should be allowed to be excluded (no defaults) HOT 1
- Unable to create image buffer from pdf buffer HOT 6
- Remove .page-number from the saved filename HOT 2
- generated images is broken HOT 10
- Store Converted pages to S3 Bucket HOT 2
- ImageMagick 6.9 not supported?
- Convert all pages error
- GraphicsMagick/ImageMagick: gm couldn't be executed HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pdf2image.