You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to va-sma...@googlegroups.com
Thanks Marten.
A few more questions though... my application makes it to 2.5 GB before crashing.
The error I get is... 1. VC++ Runtime Error: This application has requested the runtime to terminate in an unusual way. followed by... 2. Smalltalk Virtual Machine has encountered a problem and needs to close.
Do we get these error messages when we exceed the 2 GB limit ? Or this could be something else.
Thanks!
Narender Sharma
unread,
Jul 20, 2011, 10:21:28 AM7/20/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to va-sma...@googlegroups.com
I have not used /3GB parameter.
John O'Keefe
unread,
Jul 20, 2011, 1:01:43 PM7/20/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to va-sma...@googlegroups.com
Narender -
A few points to consider:
You do not actually have all of 2GB or 3GB available to your application -- some of the space is taken by DLLs, slack space, etc. I recommend using the Microsoft VMMap tool (www.sysinternals.com) to look at the memory allocation of your process.
You may get different symptoms for running out of memory depending on where it happens:
A failed memory allocation call from the image will usually result in a debugger (or walkback log at runtime)
A failed memory allocation call from the VM will usually result in the application ending with Primitive Error 12 (Not Enough Memory)
A failed memory allocation call from a DLL called from Smalltalk could result in the 2 error messages that you see (but other things could also)
John O'Keefe
Narender Sharma
unread,
Jul 22, 2011, 8:44:22 AM7/22/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to va-sma...@googlegroups.com
Thanks for guidance, I was able to narrow down on the problem and found that it is not related to Virtual Memory.
However, I am having having a tough time to find out the ROOT CAUSE though :(. It seems that it might be related to Smalltalk or Windows since the DLL's being called are not from my application...
Here is dump from the tool dumpchk.exe MINIDUMP_HEADER: Version A793 (5128) NumberOfStreams 8 Flags 6
Here are the strings from the image via the tool procexp.exe jjj Save jjj jjj APP_ICON IDD_SPLASHDIALOG
!This program cannot be run in DOS mode. Rich .text `.rdata @.data .rsrc
D$dW SUV D$(PW D$(PQj D$(PW T$lQRP SUV
PSV
t{SUV
PjB
UPV
toU
t[WS
SPW
VWSh
jxV
|$,SSS
SSS
u&Pj
L$ Qj
VPUQ
VWUP
VWUR
$Phx
nuT
VWUS
VWUS
T$(PQR
D$(QRP
L$ QS
D$4RP
T$(RU
D$8PQS
D$<PV
URPS
L$0UPQS
Rhp#@
uCj
Hpu
Hpu
YYt
YYt
MZu3
YQPj
QQV
VVVVV
VVVVV
YYt
ueSj
NCu
SVW
9csm
VVVVV
VVVVV
YYuTVWh
VVVVV
PPPPP
<Yv8V
VVVVV
VVVVV
VVVVV
SSSSS
SSSSS
VVVVV
SUVW
CMu
ANu
WPW
WPW
Gpt
0A@@Ju
SUV
Wto=
t^9(uZ
tD9(u@
YYj
SUV
SUW
Fpt"
FhP
uNh
YYt:V
teh~R@
tHh
YYt4V
u8SS3
GWh
SSW
SSu
YYt
QQV
vdj
VWu
>=Yt/j
tJVUP
SSSSS
VWu
PSS
SUVW
SSS+
@PVSS
t#SSUP
t$$VSS
UVW
jTh
j(j ^V
Rj(j
Elf
ehf
WWWWW
YYu-9D$
SVW
URPQQh8j@
UVWS
SVWj
9MZt
QSUVW
YYr|
rpV
YsJ
YYu
YYt+
t+Ht
PPPPP
wdS
SVW
YYt
SSSSS
u,hP
teP
SSSSS
VWt
0SSSSS
BOu
0SSSSS
VWt
0SSSSS
VVVVV
FVh
PPPPPPPP
PPPPPPPP
WWWWV
t<Vj
t+WWVPV
WWWWW
uaVj
wIVSP
VSj
FVSj
oV f
of@f
onPf
ov`f
o~pf
oPf
VSP
PRQ
SVWUj
SVW
UPj
UQPXY]Y[
WWWWW
Elf
ehf
GPf
WWWWW
WVS
CorExitProcess
mscoree.dll
runtime error
TLOSS error
SING error
DOMAIN error
An application has made an attempt to load the C runtime library incorrectly.
Please contact the application's support team for more information.
- Attempt to use MSIL code from this assembly during native code initialization
This indicates a bug in your application. It is most likely the result of calling an MSIL-compiled (/clr) function from a native constructor or from DllMain.
- not enough space for locale information
- Attempt to initialize the CRT more than once.
This indicates a bug in your application.
- CRT not initialized
- unable to initialize heap
- not enough space for lowio initialization
- not enough space for stdio initialization
- pure virtual function call
- not enough space for _onexit/atexit table
- unable to open console device
- unexpected heap error
- unexpected multithread lock error
- not enough space for thread data
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
(C) Copyright Instantiations 1994, 2007. All rights reserved.
(C) Copyright International Business Machines Corp. 1994, 2006. All rights reserved.
VA Smalltalk
%s, Version %d.%d %s
VM Timestamp: %s
Virtual Machine PID: %d
(C) Copyright Instantiations 1994, 2007. All rights reserved.
(C) Copyright International Business Machines Corp. 1994, 2006. All rights reserved.
VA Smalltalk
%s, Version %d.%d.%d %s
VM Timestamp: %s
Virtual Machine PID: %d
fixedSpaceSize
newSpaceSize
oldSpaceSize
allocationIncrement
lowMinimum
maximumMemoryLimit
codeCacheSize
runtimeFlags
messageLevel
copyOnWrap
tenureFailedGCCount
.icx
.icx
image
getInstanceHandle
installWindowProc
notifySleepInOS
abcdefghijklmnopqrstuvwxyz
ABCDEFGHIJKLMNOPQRSTUVWXYZ
abcdefghijklmnopqrstuvwxyz
ABCDEFGHIJKLMNOPQRSTUVWXYZ
PST
PDT
uU]x
u}xp
UuuU
y9xxx
9wxsp
9xx7p
f~w{7szgw
wwq7zrsx
g#s8ww
xxp
UUp
UWpWUW
9yxwp
;:nw7r
xxx
Pow
mqt
`RRe
RRc
tkiiir
hXRRc
cWX
RRe
ijmt
eRXR`h
eRR
eRX
rsrrkij
cWXWX`
fRRRRRRRR`
f``h`XX
`RX``XRRh
fXR
eR`f
cRR
tliil
RRe
eRf
fRR
RRf
eXX
tiijpt
hRX
XXe
cXe
mikr
RRe
XWf
XWc
fZX`Xc
kmsst
ssm
jpr
fRR
`RRRd
mji
eRR
f`Xc
cRRRf
KY^_YVO~
JQS]QCG
J[]_SCI~
yT^_QCL
JY]_CEM
{JT^]QEP
J]]TCG
HTSQEM
T]TCM~
[TTTEP
[QQCM
JQCK
HBIP
uw*)'("<A
[HDP~~
JDPq}
FGv&
gTT[
g_T[][[[JJG
vyKKG
abUUUUIINn
zzO
qqnno
VS_VERSION_INFO
StringFileInfo
CompanyName
Instantiations
FileDescription
Smalltalk Virtual Machine Runtime
FileVersion
InternalName
LegalCopyright
(C) Copyright Instantiations 1994, 2007.
OriginalFilename
nodialog.exe
ProductName
VA Smalltalk
ProductVersion
VarFileInfo
Translation
$Exit due to error: 1 - Invalid class)Exit due to error: 2 - Index out of range.Exit due to error: 3 - Object is not indexable)Exit due to error: 4 - Value out of range2Exit due to error: 5 - Store in
9Exit due to error: 24 - Invalid operation during callback3Exit due to error: 25 - Fatal error method returnedHExit due to error: 26 - Attempted debug operation using non-debugging VM6Exit due to erro
EExit due to error: 56 - Attempt to return out-of-scope from a call-in6Exit due to error: 57 - No more entry points available0Exit due to error: 58 - Invalid image relocation0Exit due to error: 59 - F
KBB
BBB
BEBJ
BBBBBBL
LBJLBB
MBL
BBB
MBK
BBB
~;HG5a
ZDC6
WXhg?
AGDDA8=R
RTR-
iyF
Wts
]nl|{Jxqb
\VyLNP
^WUB'):`
M=wcf
DRC%
IRF
deXTA
%x^L(y\)5A
oMh nFJ yJv esx ZjW OYH RzYKih
BzP _j`O_j` Fr_}_j` Pow Rdu< mqt
g#hy-#hy Txm Rdu rlp Wts
In case case the dump is required I can send that as well.
Thanks Again!!!
Narender Sharma
unread,
Jul 27, 2011, 4:10:31 AM7/27/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to va-sma...@googlegroups.com
Ok, so now my app just disappears(when I tried to narrow down on the problem)... :( Here are the contents of the vmtrap.log file.
-Platform Information------------------- VM Timestamp: 4.0,(NC) 6/12/2007 (74) CPU Architecture: i386 OS Type: WIN32_NT OS Version: 5.1 build 2600 Service Pack 3 -State Information---------------------- Handler=0x00478d00 vmState=0x00000000 vmError=0x00000035 ExceptionCode=0xc0000005 ExceptionAddress=0x00472678 ContextFlags=0x0001003f Module=C:\CALCBLDR\CALCBLDR4x\ESVM40.dll Module_base_address=0x00420000 Offset_in_DLL=0x00052678 EDI=0x00153878 ESI=0x002434f4 EAX=0x0000dac4 EBX=0x05f2d159 ECX=0x0517e968 EDX=0x053b4398 EBP=0x00165db0 ESP=0x0012ed7c EIP=0x00472678 -----------------------------------------