ByteScout Premium Suite - VBScript - Reduce memory usage for pdf extraction with pdf extractor sdk - ByteScout

ByteScout Premium Suite – VBScript – Reduce memory usage for pdf extraction with pdf extractor sdk

  • Home
  • /
  • Articles
  • /
  • ByteScout Premium Suite – VBScript – Reduce memory usage for pdf extraction with pdf extractor sdk

How to reduce memory usage for pdf extraction with pdf extractor sdk in VBScript with ByteScout Premium Suite

Continuous learning is a crucial part of computer science and this tutorial shows how to reduce memory usage for pdf extraction with pdf extractor sdk in VBScript

The sample source code below will teach you how to reduce memory usage for pdf extraction with pdf extractor sdk in VBScript. ByteScout Premium Suite is the bundle that includes twelve SDK products from ByteScout including tools and components for PDF, barcodes, spreadsheets, screen video recording. It can be applied to reduce memory usage for pdf extraction with pdf extractor sdk using VBScript.

The SDK samples given below describe how to quickly make your application do reduce memory usage for pdf extraction with pdf extractor sdk in VBScript with the help of ByteScout Premium Suite. Just copy and paste the code into your VBScript application’s code and follow the instructions. This basic programming language sample code for VBScript will do the whole work for you to reduce memory usage for pdf extraction with pdf extractor sdk.

Our website gives trial version of ByteScout Premium Suite for free. It also includes documentation and source code samples.

On-demand (REST Web API) version:
 Web API (on-demand version)

On-premise offline SDK for Windows:
 60 Day Free Trial (on-premise)

ReduceMemoryUsage.vbs
      
' When processing huge PDF documents you may run into OutOfMemoryException. ' This example demonstrates a way to spare the memory by disabling page data caching. ' Create Bytescout.PDFExtractor.TextExtractor object Set extractor = CreateObject("Bytescout.PDFExtractor.TextExtractor") extractor.RegistrationName = "demo" extractor.RegistrationKey = "demo" ' Load sample PDF document extractor.LoadDocumentFromFile("..\..\sample2.pdf") ' Disable page data caching, so processed pages wiil be disposed automatically extractor.PageDataCaching = 0 ' 0 - no caching; 1 - cache all pages. ' Save extracted text to file extractor.SaveTextToFile("output.txt") Set extractor = Nothing WScript.Echo "Extracted data saved to 'output.txt' file."

ON-PREMISE OFFLINE SDK

60 Day Free Trial or Visit ByteScout Premium Suite Home Page

Explore ByteScout Premium Suite Documentation

Explore Samples

Sign Up for ByteScout Premium Suite Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

VIDEO

ON-PREMISE OFFLINE SDK

60 Day Free Trial or Visit ByteScout Premium Suite Home Page

Explore ByteScout Premium Suite Documentation

Explore Samples

Sign Up for ByteScout Premium Suite Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

Tutorials:

prev
next