EDA365电子工程师网

标题: 在用ISE布线时遇到的out of memory问题的解决办法 [打印本页]

作者: yinhaoqiong    时间: 2008-12-10 14:37
标题: 在用ISE布线时遇到的out of memory问题的解决办法
我们公司用的Virtex IV LX160芯片,SLICE资源用了70%多,在route时,ISE提示如下错误:ERROR: Portability:3 This Xilinx application has run out of memory or has encountered a memory conflict..."。试了很多机器,包括服务器,都有同样的问题。一开始怀疑是我们的代码有问题,找了半天,没有发现问题。后来到xilinx网站上找了半天,终于发现了问题的症结所在。把他公布出来,希望大家遇到类似问题时,不再走弯路。) q2 u7 h- M, s( L1 {$ Q: _  i+ i
1、LX160在SLICE使用率超过50%时,route时会使用超过2G的内存,而Windows操作系统默认情况下,只能使用2G内存(不管你装了多少内存条或开了多少虚拟内存),因此会出现内存不足的情况;
- x4 A( }; Z3 I$ O+ i1 `  g2、通过修改windows的boot.ini文件,可将系统可用内存扩展到3G。% G" K& M: d; Q7 y0 _( e. k
  @' X1 \2 a3 W6 Q1 A* W% P
详情参见Xilinx AR #14932:http://www.xilinx.com/support/answers/14932.htm; Y  I% `- ^2 s

! i; E: A8 G% F: H6 S! c[ 本帖最后由 yinhaoqiong 于 2008-12-10 14:54 编辑 ]
作者: yinhaoqiong    时间: 2008-12-14 10:27
自己顶一下。难道论坛里没有人用virtex IV系列的大容量片子吗?
作者: zgq800712    时间: 2008-12-14 11:00
如何编辑BOOT.INI文件,这个论坛回复不能全英文
$ \0 Z, r4 {- {! |+ ?& {1 b' _& {' z# r0 y
This article describes how to view and manually configure the Boot.ini file in Windows XP from within the Startup and Recovery dialog.
9 ?/ S- ?; V& V' E! Q( M' N% m
! V7 a. n: V! r& \In Windows XP, you can quickly and easily locate the Boot.ini to verify and/or edit the file.+ r7 r3 a2 ?) d7 C  [- Y) s, s

, B5 R6 o1 a! p' ~( x$ n, f0 CIt is suggested to backup the Boot.ini file before editing. The first tasks will involve modifying folder option so as to view hidden files and then backing up the Boot.ini file.
  X( B1 d2 w7 ?$ C  I0 |# x# k7 J' i4 [7 H

) w! x& f+ ?( M/ ]( u# W! t; c. H; c! O! q9 U
Back to the top$ G/ `% p: `) z' J
Save a Backup Copy of Boot.ini
5 I2 P# c) o+ d: I7 C; R' W
! o" C8 c3 }) n. D4 |, }Back to the top
8 Q7 E/ t, w4 lEdit the Boot.ini FileTo view and edit the Boot.ini file: ) d) e% P' D, t& t- K/ Q# t
- Y& e+ Q  R. @& z2 A
Back to the top" s* X2 G0 J0 C+ R1 D' O2 ^$ `
Sample Boot.ini FileThis is a sample of a default Boot.ini file from a Windows XP Professional computer. [boot loader], L- C4 v1 O! D7 R
timeout=30
: Y8 G- {' z# X; ]+ _  j% [default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
4 w! P- q1 M- e& Y9 ]9 e[operating systems]8 O4 R& X, h& y; |+ {2 U* l
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect " f+ u& R8 T: a1 A$ y0 A
This is a sample of the above Boot.ini file with a previous installation of Windows 2000 on a separate partition. [boot loader]
* I- k, s! x( N( qtimeout=30
4 a" }2 G' A. ]) t8 M- }) wdefault=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS& E, ?7 f9 E/ J5 B8 J; @2 ?
[operating systems]
% j) f/ ^6 N0 Q, J9 R' N# kmulti(0)disk(0)rdisk(0)partition(1)\WINDOWS="Windows XP Professional" /fastdetect
9 N  `' Z4 h( u* |: Vmulti(0)disk(0)rdisk(0)partition(2)\WINNT="Windows 2000 Professional" /fastdetect , j; F8 y: C$ O1 }/ T

" }8 M* ^9 a# o0 s+ _" k  z1 J$ P; r$ C5 \# J% [# n4 r
Back to the top
; Y5 e2 g" N7 M& mModifying the Boot.iniWhile you can modify the Boot.ini file using the Startup and Recovery dialog, where you can select the default operating system, change the timeout value, or manually edit the file, the following method uses the command line utility, Bootcfg.exe.
! u/ C3 g# a7 v# S0 L* s/ g
" o1 c4 Z; q9 R6 Q: L% x* GNote The Bootcfg.exe utility is only available in Windows XP Professional. This utility is not available in Microsoft Windows XP Home Edition. Therefore, this section does not apply to Windows XP Home Edition.
: l4 P4 C) J- g( ]4 Z; J' w, \5 i: l% e( D- R! `3 f
Adding an Operating SystemAt the command prompt, type: bootcfg /copy /d Operating System Description /ID#0 V% P  U; g  h4 u/ P$ W; h
Where Operating System Description is a text description (e.g. Windows XP Home Edition), and where # specifies the boot entry ID in the operating systems section of the BOOT.INI file from which the copy has to be made.
/ H% u4 m7 u9 ?! W. l# G. q1 s, z+ X2 T% O$ X5 n
% ^3 M" P0 x: ^* _
4 T2 ?: ?* Y9 l1 g
Removing an Operating SystemAt the command prompt, type: bootcfg /delete /ID#- L) f% f& t: X( Y% c3 ~8 a6 C* \
Where # specifies the boot entry ID that you want to be deleted from the operating systems section of the BOOT.INI file (e.g. 2 for the second Operating system that is listed.
1 Z; a; a2 [  i5 S5 ]' ~" ], K4 D' l

9 A1 e7 O- d. y( t% w$ |
. S4 y* F4 W; O3 \% m) kSetting the Default Operating SystemAt the command prompt, type: bootcfg /default /ID#/ f4 M; L4 o1 L$ j# a
Where # specifies the boot entry id in the operating systems section of the BOOT.INI file to be made the default operating system.8 \7 S( O  U3 ]5 l" L, m( O2 S' `
2 U  B4 f% ~4 ], w; @, J

1 n/ d6 P1 l5 ~2 H: t
4 l( {' B. o$ U9 }6 c  tSetting the Time OutAt the command prompt, type: bootcfg /timeout# Where # specifies the time in seconds after which default operating system will be loaded.+ R- X; t$ I% d  Y
1 |& x; w1 g$ x

  D9 @* B& }# ]% r$ O: D* w8 ?, V
5 @" ~+ a0 q; N( x8 e+ o. uBack to the top
' W( G0 x3 j0 l; h( \Open the Boot.ini File to Verify Changes
$ M/ L/ i2 z$ Q0 v/ A3 g$ C
1 s  J9 t+ t8 t7 U2 x# ^2 g1 \( ~* C1 N2 Y3 f- y- P

/ |6 F7 z; R* j  P# ^8 L) oBack to the top
作者: bugs    时间: 2008-12-25 01:20
这个论坛回复不能全英文,我也不喜欢这点。
0 \1 {$ i. E5 h8 X6 Z' H  S
: g/ ~+ A8 p0 c+ k5 T  ZWindows XP SP2已经支持3G内存了。
作者: wide_road    时间: 2013-7-4 12:41
32位系统应该可以支持4GB内存的。可能是针对1个进程分配的内存不够吧。
: ^5 f' i0 {/ {2 D谢谢楼主分享的经验
作者: cary_wang    时间: 2013-7-17 15:21
wide_road 发表于 2013-7-4 12:41
5 L* Q5 E7 m9 ?$ a8 p7 i; R' `  [/ U32位系统应该可以支持4GB内存的。可能是针对1个进程分配的内存不够吧。
+ K# Y; O1 I% g# W谢谢楼主分享的经验

) S' m& |1 S2 `  i! lWindows 32Bit 系统最大能识别到3.25GB内存。(win系统最大支持128G)可以通过破解PAE来支持更大的内存,如使用网上流行的4GBReady等软件实现。但是不是很稳定,最好的方法是安装64位系统实现对大内存的支持。但是,有一个方面一定要注意,现在的32位应用程序是不能在默认状态下使用2GB以上的内存的。也就是说,如果系统没有经过特殊配置,系统有再大的内存,应用程序是没有办法使用到的。




欢迎光临 EDA365电子工程师网 (https://bbs.elecnest.cn/) Powered by Discuz! X3.2