[erlang-questions] File size limits on file:write_file and file:write?
Wed May 4 13:45:56 CEST 2011
You wanted file:write_file/2 i guess
On Wed, May 4, 2011 at 1:45 PM, Ahmed Omar <> wrote:
> file:write/2 , first argument is an io_device() not filename
> On Wed, May 4, 2011 at 1:19 PM, Dave Challis <> wrote:
>> On 04/05/11 11:53, Carlo Bertoldi wrote:
>>> On 04/05/2011 12:29, Dave Challis wrote:
>>>> I'm having trouble writing large binaries to disk using file:write or
>>>> If I shrink Data to less than 2Gb, the write operation works fine.
>>>> Erlang is running in 64-bit mode, my erlang system info is:
>>>> Erlang R14B02 (erts-5.8.3) [source] [64-bit] [smp:8:8] [rq:8]
>>>> [async-threads:0] [hipe] [kernel-poll:false]
>>>> Is there something I should be doing differently, or a compile time
>>>> option that I missed?
>>>> I believe you forgot to mention the underlying filesystem you're using.
>>> The 2GB limit reminds me of a FAT filesystem. Just my 2 cents.
>> Ah, sorry. I'm trying to write to an ext4 partition, running on 64-bit
>> Ubuntu. I can create 10Gb+ files in the directory I'm trying to write to
>> using applications without a problem though.
>> Dave Challis
>> erlang-questions mailing list
> Best Regards,
> - Ahmed Omar
> Follow me on twitter
> @spawn_think <http://twitter.com/#!/spawn_think>
- Ahmed Omar
Follow me on twitter
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions