heap allocate error

caox caox@REDACTED
Tue Apr 27 04:00:32 CEST 2010


hi
	I got an heap allocate error when using binary_to_term to operate received binary from c driver :

	Crash dump was written to: erl_crash.dump
eheap_alloc: Cannot allocate 1824525600 bytes of memory (of type "heap").

	And I found the memory size being allocated was about 10 times lager than the actual size of the binary.  How could I avoid the crash of system in this situation?


More information about the erlang-questions mailing list