动态 MMap 没有空间了。请增大 APT::Cache-Limit 的大小。当前值:25165824

遇到Ubuntu 10.04更新失败问题时,通过调整APT缓存限制大小,可以解决E: 动态MMap 没有空间了错误。本文提供了详细步骤,包括新建或修改 /etc/apt/apt.conf 文件,增加APT::Cache-Limit 参数。此解决方案适用于类似情况,确保系统更新顺利进行。
装完ubuntu 10.04后就无法更新了,出现如下问题 E: 动态 MMap 没有空间了。请增大 APT::Cache-Limit 的大小。当前值:25165824。(man 5 apt.conf) E: 处理 linux-headers-2.6.24-25 (NewVersion1)时出错 E: Problem with MergeList /var/lib/apt/lists/debian.ustc.edu.cn_ubuntu_dists_hardy-updates_main_binary-i386_Packages E: 无法解析或打开软件包列表或状态文件。 E: _cache->open() failed, please report. W: Unable to munmap

解决:
系统里一般没有apt.conf文件,,,这个要新建,,,,,,编辑 sudo gedit /etc/apt/apt.conf(如果没有apt.conf这个文件就新建一个)在里面增加或者修改以下参数,把后面的数字尽量的调大即可,如果调大后重复出现该问题,继续增加数字即可
APT::Cache-Limit 99999999;


……
……
……
更多内容已迁移至新博客:[url=http://www.adintellig.com/]Manny很忙[/url]
[2025.10.09-14.25.03:906][ 0]LogDeviceProfileManager: Going up to parent DeviceProfile [] [2025.10.09-14.25.03:906][ 0]LogConfig: Applying CVar settings from Section [Startup] File [../../../Engine/Config/ConsoleVariables.ini] [2025.10.09-14.25.03:906][ 0]LogConfig: Set CVar [[r.DumpShaderDebugInfo:2]] [2025.10.09-14.25.03:906][ 0]LogConfig: Set CVar [[p.chaos.AllowCreatePhysxBodies:1]] [2025.10.09-14.25.03:906][ 0]LogConfig: Set CVar [[fx.SkipVectorVMBackendOptimizations:1]] [2025.10.09-14.25.03:906][ 0]LogConfig: Set CVar [[r.ForceDebugViewModes:1]] [2025.10.09-14.25.03:906][ 0]LogConfig: Applying CVar settings from Section [ConsoleVariables] File [Engine] [2025.10.09-14.25.03:906][ 0]LogConfig: Set CVar [[HoverDrone.DroneSpeedScalar:0.5]] [2025.10.09-14.25.03:906][ 0]LogConfig: Set CVar [[fx.NiagaraGpuLowLatencyTranslucencyEnabled:1]] [2025.10.09-14.25.03:906][ 0]LogConfig: Set CVar [[P.Chaos.SyncKinematicOnGameThread:1]] [2025.10.09-14.25.03:906][ 0]LogConfig: Set CVar [[MovieRenderPipeline.WaveOutput.WriteDelay:3]] [2025.10.09-14.25.03:906][ 0]LogConfig: Set CVar [[p.ClothPhysics:0]] [2025.10.09-14.25.03:906][ 0]LogConfig: Set CVar [[g.TimeoutForBlockOnRenderFence:60000]] [2025.10.09-14.25.03:906][ 0]LogInit: Unix hardware info: [2025.10.09-14.25.03:906][ 0]LogInit: - we are the first instance of this executable [2025.10.09-14.25.03:906][ 0]LogInit: - this process' id (pid) is 168551, parent process' id (ppid) is 168543 [2025.10.09-14.25.03:906][ 0]LogInit: - we are not running under debugger [2025.10.09-14.25.03:907][ 0]LogInit: - machine network name is 'DESKTOP-2PJK7EV' [2025.10.09-14.25.03:907][ 0]LogInit: - user name is 'lxng' (lxng) [2025.10.09-14.25.03:907][ 0]LogInit: - we're logged in locally [2025.10.09-14.25.03:907][ 0]LogInit: - we're running with rendering [2025.10.09-14.25.03:907][ 0]LogInit: - CPU: GenuineIntel '12th Gen Intel(R) Core(TM) i9-12900K' (signature: 0x90672) [2025.10.09-14.25.03:907][ 0]LogInit: - Number of physical cores available for the process: 12 [2025.10.09-14.25.03:907][ 0]LogInit: - Number of logical cores available for the process: 24 [2025.10.09-14.25.03:907][ 0]LogInit: - GPU Brand Info: UnknownVendor [2025.10.09-14.25.03:907][ 0]LogInit: - Memory allocator used: binned2 [2025.10.09-14.25.03:907][ 0]LogInit: - This binary is optimized with LTO: no, PGO: no, instrumented for PGO data collection: no [2025.10.09-14.25.03:907][ 0]LogInit: - This is an internal build. [2025.10.09-14.25.03:907][ 0]LogCore: Benchmarking clocks: [2025.10.09-14.25.03:907][ 0]LogCore: - CLOCK_MONOTONIC (id=1) can sustain 50522507 (50523K, 51M) calls per second without zero deltas. [2025.10.09-14.25.03:907][ 0]LogCore: - CLOCK_MONOTONIC_RAW (id=4) can sustain 54124297 (54124K, 54M) calls per second without zero deltas. [2025.10.09-14.25.03:907][ 0]LogCore: - CLOCK_MONOTONIC_COARSE (id=6) can sustain 255663865 (255664K, 256M) calls per second with 99.999906% zero deltas. [2025.10.09-14.25.03:907][ 0]LogCore: Selected clock_id 4 (CLOCK_MONOTONIC_RAW) since it is the fastest support clock without zero deltas. [2025.10.09-14.25.03:907][ 0]LogInit: Unix-specific commandline switches: [2025.10.09-14.25.03:907][ 0]LogInit: -ansimalloc - use malloc()/free() from libc (useful for tools like valgrind and electric fence) [2025.10.09-14.25.03:907][ 0]LogInit: -jemalloc - use jemalloc for all memory allocation [2025.10.09-14.25.03:907][ 0]LogInit: -binnedmalloc - use binned malloc for all memory allocation [2025.10.09-14.25.03:907][ 0]LogInit: -filemapcachesize=NUMBER - set the size for case-sensitive file mapping cache [2025.10.09-14.25.03:907][ 0]LogInit: -useksm - uses kernel same-page mapping (KSM) for mapped memory (OFF) [2025.10.09-14.25.03:907][ 0]LogInit: -ksmmergeall - marks all mmap'd memory pages suitable for KSM (OFF) [2025.10.09-14.25.03:907][ 0]LogInit: -preloadmodulesymbols - Loads the main module symbols file into memory (OFF) [2025.10.09-14.25.03:907][ 0]LogInit: -sigdfl=SIGNAL - Allows a specific signal to be set to its default handler rather then ignoring the signal [2025.10.09-14.25.03:907][ 0]LogInit: -crashhandlerstacksize - Allows setting crash handler stack sizes (204800) [2025.10.09-14.25.03:907][ 0]LogInit: -noexclusivelockonwrite - disables marking files created by the engine as exclusive locked while the engine has them opened [2025.10.09-14.25.03:907][ 0]LogInit: -httpproxy=ADDRESS:PORT - redirects HTTP requests to a proxy (only supported if compiled with libcurl) [2025.10.09-14.25.03:907][ 0]LogInit: -reuseconn - allow libcurl to reuse HTTP connections (only matters if compiled with libcurl) [2025.10.09-14.25.03:907][ 0]LogInit: -virtmemkb=NUMBER - sets process virtual memory (address space) limit (overrides VirtualMemoryLimitInKB value from .ini) [2025.10.09-14.25.03:907][ 0]LogInit: -allowsyscallfilterfile=PATH_TO_FILE - sets up a system call filter allow list. any invalid syscall in this list *will* cause a crash [2025.10.09-14.25.03:907][ 0]LogInit: - Physical RAM available (not considering process quota): 32 GB (31986 MB, 32753812 KB, 33539903488 bytes) [2025.10.09-14.25.03:907][ 0]LogInit: - VirtualMemoryAllocator pools will grow at scale 1.4 [2025.10.09-14.25.03:907][ 0]LogInit: - MemoryRangeDecommit() will be a no-op (re-run with -vmapoolevict to change) [2025.10.09-14.25.03:907][ 0]LogInit: - PageSize 4096 [2025.10.09-14.25.03:907][ 0]LogInit: - BinnedPageSize 65536 [2025.10.09-14.25.03:907][ 0]LogCsvProfiler: Display: Metadata set : extradevelopmentmemorymb="0" [2025.10.09-14.25.03:911][ 0]LogInit: Physics initialised using underlying interface: Chaos [2025.10.09-14.25.03:911][ 0]LogInit: Using OS detected language (en-US-POSIX). [2025.10.09-14.25.03:911][ 0]LogInit: Using OS detected locale (en-US-POSIX). [2025.10.09-14.25.03:912][ 0]LogTextLocalizationManager: No specific localization for 'en-US-POSIX' exists, so 'en' will be used for the language. [2025.10.09-14.25.03:937][ 0]LogHAL: Warning: Game icon not found. [2025.10.09-14.25.04:238][ 0]LogSlate: New Slate User Created. Platform User Id 0, User Index 0, Is Virtual User: 0 [2025.10.09-14.25.04:238][ 0]LogSlate: Slate User Registered. User Index 0, Is Virtual User: 0
10-10
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值