SlowCoder74 Posted July 4, 2012 Posted July 4, 2012 What is the upper limit to [count] for the FileRead command?
Zedna Posted July 4, 2012 Posted July 4, 2012 (edited) Your question is too vague. If you mean amount of data that can be read then I think there is 2 GB limit (probably depends on OS). Edited July 4, 2012 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search
MilesAhead Posted July 4, 2012 Posted July 4, 2012 Googling termsAutoIt3 FileRead MaximumI get this thread, which links to another pertinent thread:AutoIt may have updated in the meantime. But even so, it's probably better to process large files in chunks. Maybe make a call to get the file size first. Then decide how to process it. My Freeware Page
water Posted July 4, 2012 Posted July 4, 2012 We hit the limit some months ago. To sum it up: Theoretically the string to receive the bytes read by FileRead can contain up to 2GB of data. In practice the size is limited by the amount of contiguous storage that can be obtained from the operating system. This is usually between 200MB and 500MB. So I would advise to read the file in chunks you can easily manage. My UDFs and Tutorials: Spoiler UDFs: Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki
Zedna Posted July 4, 2012 Posted July 4, 2012 I get this thread, which links to another pertinent thread:Link got from that post:Nice explanation from Valik Resources UDF ResourcesEx UDF AutoIt Forum Search
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now