I'm not quite sure what you mean by Optimal task size. if you're looking for the best size as far as speed is concerned, in my past I've found that giving tasks a size of 2^X somehow works faster. hence 1024 instead 1000 bytes for example. If you're wondering if the task size influences what the task can handle as far as capacity goes I'll let the gurus here answer that part of it :-). -- St�phane Richard "Ada World" Webmaster http://www.adaworld.com "Baris Gokbudak" wrote in message news:c9267c2d.0401041430.4aeefc2@posting.google.com... > Hi. > At work we are using default sizes for tasks.But we have a memory size > problem and as we are doing a real time system we should minimize the > task sizes etc.But when we set a smaller size for a task we are not > sure if it is the optimum size for that size.Is there any way to > calculate the optimum task size for a task?We are compiling the > project in Sparc 5 SUN.The real time system is used in VXWorks > operating system. > I am looking forward for any suggestion.