Wrongly passing struct pointer

Hi,
For a small struct pass by value is not a problem, but for larger struct its a problem. Can anyone please refer https://stackoverflow.com/questions/161788/are-there-any-downsides-to-passing-structs-by-value-in-c-rather-than-passing-a 2nd answer and the same problem occurs for our compiler. So can anyone explain what is the problem and how it can be solved ?
sincerely,
Siddharth