Skip to content

Commit

Permalink
[Win] Increase file size limit when reading file (#1674)
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonMarechal25 authored Oct 4, 2023
1 parent 8a43ff2 commit ab4e14b
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/ext/yuni/src/yuni/io/file/file.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,8 @@ namespace IO
namespace File
{
// constants
enum
{
//! The maximum allowed size for a file in memory (Default: 80Go)
sizeHardLimit = 85899345920u, // 80Gb = 80 * 1024 * 1024 * 1024
};
//! The maximum allowed size for a file in memory (Default: 80Go)
constexpr unsigned long long sizeHardLimit = 85899345920u; // 80Go = 80 * 1024 * 1024 * 1024

/*!
** \brief Test if a node exists and is actually a file
Expand Down

0 comments on commit ab4e14b

Please sign in to comment.