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

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

  • Home
  • /
  • Articles
  • /
  • ByteScout Data Extraction 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 and ByteScout Data Extraction Suite

This code in VBScript shows how to reduce memory usage for pdf extraction with pdf extractor sdk with this how to tutorial

The code displayed below will guide you to install an VBScript app to reduce memory usage for pdf extraction with pdf extractor sdk. ByteScout Data Extraction Suite: the set that includes 3 SDK products for data extraction from PDF, scans, images and from spreadsheets: PDF Extractor SDK, Data Extraction SDK, Barcode Reader SDK. It can reduce memory usage for pdf extraction with pdf extractor sdk in VBScript.

The following code snippet for ByteScout Data Extraction Suite works best when you need to quickly reduce memory usage for pdf extraction with pdf extractor sdk in your VBScript application. This VBScript sample code is all you need for your app. Just copy and paste the code, add references (if needs to) and you are all set! If you want to use these VBScript sample examples in one or many applications then they can be used easily.

All these programming tutorials along with source code samples and ByteScout free trial version are available for download from our website.

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 Data Extraction Suite Home Page

Explore ByteScout Data Extraction Suite Documentation

Explore Samples

Sign Up for ByteScout Data Extraction 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 Data Extraction Suite Home Page

Explore ByteScout Data Extraction Suite Documentation

Explore Samples

Sign Up for ByteScout Data Extraction Suite Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

Tutorials:

prev
next