If someone were telling me this, I'd swear they were on drugs...but I saw it with my own eyes.
We have an app running on Citrix...let's call the app BIZAPP.EXE. We use the old SYS(3050) trick, and we allow about 90 MB per session for the app. It's all been running fine...until a few days ago.
Our client upgraded to a new server, and now SYS(3050) in BIZAPP.EXE is returning a value of about 6 MB. I copied the app to BIZAPP2.EXE, and then ran BIZAPP2.EXE - it reported that it would use about 90 MB. Then I ran the original BIZAPP.EXE - it reported 6 MB. I kept running the two back and forth, getting the same results.
I then suspected that somehow, someway, some part of the network was saying to the BIZAPP.EXE app...'you only get 6 MB, nothing more.' To test that theory, I created a small EXE with about 7 lines of code that reported the result of a SYS(3050). When I ran the small EXE (I called it CHECKMEM.EXE), it returned 90 MB. Then I copied CHECKMEM.EXE to BIZAPP.EXE and then ran my 7-line program as BIZAPP.EXE...it again returned 6 MB!!!!!!!
Somehow, this published app on Citrix is only being given 6 MB...but I'm not enough of a Citrix expert to figure out where one would configure such a thing.
Any thoughts/clues?
Thanks,
Kevin