I'm trying to create a pdf file using alivepdf lib with about 4000 pages and each page contains an image added by the alivepdf method addImage(). the problem is that the data takes a lot of memory because alivepdf creates the whole file in the memory before saving it to desk. so i am asking if there is a away i can open the file with each entry and add page then close it and free memory before adding the next page. thanks
Related Questions in ACTIONSCRIPT-3
- [Actionscript]How to display the information inside an array of objects
- How to set a colour variable in JS
- When using INSERT OR REPLACE INTO in SQL is there any way to tell if a record was inserted as new or replaced in SQL for AS3?
- How to inject a bean in a view with Crux
- AS3 - Unable to resize Image width and height
- How do I move Pac-Man smoothly in AS3?
- Export Release Build is not working in Adobe Flash Builder, It does nothing on Finish button
- 1009 Error for a Character Skin Symbol in AS3
- Issue setting domain memory
- Implicit coercion of a value with static type Object to a possibly unrelated type Number
- Defer implementation of interface functions to child class
- Simple top 3 scores from an array to textfield
- Need ActionScript 3 coding for input boxes that will determine amount of color fill in a movieclip
- AS3 Caling MC on Parent Timeline from Child
- 2 error problems for simple music players
Related Questions in AIR
- Unique ID to transfer guest account data from Adobe AIR to Unity
- Is there a way to autocomplete variables in VS Code while debugging in Go?
- Why can't I debug my Go project using docker in VS Code?
- Loading txt file on Android with Harman 50.2.4.2
- Export Release Build is not working in Adobe Flash Builder, It does nothing on Finish button
- Dialogflow chatbot that will give AQI levels
- Issue setting domain memory
- Is Air Travel Supported on this API?
- Layer Parenting, Make Child Layers Move Along With Parent Layer That's Being Moved by ActionScript 3.0?
- GDPR UMP Implementation Using AS3 Script
- Modelica Buildings library fluid sensors
- Adobe Animate Air - android using phone proximity sensor to turn off screen?
- no file-saving after AIR Update
- Multiple DoABC tags for boilerplate reuse
- Unable to open exe file using Adobe Animate and XML configuration
Related Questions in ALIVEPDF
- abc bytecode decoding failed
- Change color when mouse over from pdf
- AlivePdf embeded .otf
- Creating large pdf file with Adobe Air
- Generating PDF file from Flex/Flash developer
- Arabic Suppport for AlivePDF
- Is there an ActionScript library to create Illustrator files?
- There is no save() method in FileReference Class of Flex
- Add Header and Footer in the PDF created by using AlivePDF
- flex alivepdf add base64 encoded image
- The SDK Portfolio actually replaces the AlivePDF? How to create a .pdf file using this new library in Flash Builder?
- AS3 ALIVEPDF saving via method.remote (PHP) no longer working
- is there a way to print a list from alivepdf in actionscript?
- AlivePDF not writing out text using addText(). Nothign I'm trying is working. What am I missing?
- Actionscript 3.0 form wiith user inputs and calculated fields saves empty as a PDF using AlivePDF
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
I suggest you first use your app make many much smaller PDFs (for example each one is 400 pages, then next 400 as a new PDF, so on until all 4000 pages are done in 10 PDFs).
When those are ready, use an external tool like PDFtk to process those files you saved to disk. It works from command prompt but you can tell AIR to run it as a
NativeProcess. It accepts instructions to combine those saved files and output them as a new big one.Don't worry about memory, nothing is loaded into Flash. Flash itself can start the process but the merging will happen outside your app. Just wait for a big file to magically appear.