interview question of asp.net developer for 3 years exp
Every individual has his own way of judging a candidate. As per me, a good interviewer will look at what all you have done till now and how well you know about them. Can you think logically and try to find out even if you don't know. How much you are ready to learn and explore. And not to forget how well your skillset fit in the position requirement that you are being interviewed for.
My 2 cents: Asking for interview question might not help as much as looking into the depth of the work done by you till now.
I have a java web service and I'm trying to download a file of 250 MB from the webmethod. I'm getting "Java heap space-ERROR". I kept the value for maxReceivedMessageSize="2147483647"
and changed all config values to the maximum values. Still facing the same error.
Any ideas to solve this issue. Thanks in advance.
As this is C# forum, I didn't mention specifically about my project platform. Because it is by default C# platform.
Anyways, for your understanding, I'm writting my problem again.
I'm working on C# project which is accessing Java webservice. I'm calling a webmethod which sends a file of 250MB size in response.
I changed the config section as mentioned in my original message.
Exception called "Java Heap Space" thrown.
You are missing the point. The exception you are getting is thrown from the Java side. I'd have thought the fact it said Java in the exception would have been a big clue that the problem was at the Java side, but that's just me; picking up on these subtle clues.
Bottom line - you can tweak your client side config all you like, but if the problem is at the server end, you ain't going to solve squat.
*pre-emptive celebratory nipple tassle jiggle* - Sean Ewington
Just to clarfy, if you are seeing this error at the client:
It is being sent by the web service to the client.
The error is happening at the service.
Changing the client config will have no effect in this case
Finally, as this is a Java service error you will be better off asking for help in a Java forum. Possibly, the whole file is being loaded into memory and this is causing the heap to fill, the service needs to stream or chunk it. As a non-Java dev I couldn't be certain though.
If you want to know what assemblies to reference, simply compile the code. The IDE will complain about the types that it cannot find. Most of these types will have a page on MSDN, and that page includes the name of the assembly that the type is located in. Add reference, compile again, find the next one.