limit to number of args in application call?

Posted on 2011-02-14
Last Modified: 2012-08-13
There a limit to the number of members of the args array passed in a application call?
I have to call from another application,
but the number of args could be something like 200-300
because I will pass as args the ID number of records that I want to print.
There is some limitation about args[] use?
Question by:bobdylan75
  • 3
  • 3
LVL 52

Accepted Solution

Carl Tawn earned 500 total points
ID: 34888969
The only limit should be the available amount of stack space.

Author Comment

ID: 34889015
how can I do to evaluate that one?
It's large as system memory?
because if it is so, I have no issue
LVL 52

Assisted Solution

by:Carl Tawn
Carl Tawn earned 500 total points
ID: 34889257
The default stack size is 1Mb. Although it shouldn't really be an issue as the array itself will be on the heap and only the method pointer and pointer to the array itself will be on the stack.
Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center


Author Comment

ID: 34889296
Ok, so I go happy?
LVL 52

Expert Comment

by:Carl Tawn
ID: 34889316
Yes :)

Author Closing Comment

ID: 34889338

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question