[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] Issue with Mint 1.19 and Litchi



On 04/02/2015 20:17, Pierre Ton-That wrote:
Speaking of MiNT changes, from 1.18 to 1.19, I noticed one can't malloc
very big blocks. There is a limitation (about 1 MB ?). Could not malloc
70 MB (MegaBytes) for a very big file for download in one row.

I suggest you to have a look at the PROC_MAXMEM variable in your MINT.CNF.

# PROC_MAXMEM= gives the maximum amount of memory that any process
# may use (in kilobytes). The default is to make this unlimited, but
# if you have a lot of memory and/or programs that grab more memory
# than they should, try setting this.
#
# E.g. to limit processes to 4096K of memory, remove the '#' at the
# beginning of the next line.
#
# WARNING: the process will not be allowed to allocate memory beyond
# the limit, and it won't "see" more memory as available from the
# system.
# Please understand that programs like "free" (or any other that
# interrogates the system how much memory is available) is a process
# as well, thus it will undergo this limit too!
#
# Decent shells (desktops) allow you to limit the maximum amount of
# memory independently for each program.

#PROC_MAXMEM=4096

--
Vincent Rivière