diff --git a/epicardium/FreeRTOSConfig.h b/epicardium/FreeRTOSConfig.h
index f561946fd3e00e6f39c10a088423a4fc26a70dd8..6822b06869e173a68ccef3a8081ce558478bf675 100644
--- a/epicardium/FreeRTOSConfig.h
+++ b/epicardium/FreeRTOSConfig.h
@@ -16,7 +16,7 @@
  *
  * Heap is managed by libc (heap_3.c).
  */
-#define configMINIMAL_STACK_SIZE    ((unsigned short)128)
+#define configMINIMAL_STACK_SIZE    ((unsigned short)256)
 
 /* FIXME: Assign proper priorities to all interrupts */
 #define configMAX_PRIORITIES        5
@@ -74,4 +74,11 @@ void post_idle_sleep(TickType_t xExpectedIdleTime);
 #define configPOST_SLEEP_PROCESSING(xExpectedIdleTime) \
 	post_idle_sleep(xExpectedIdleTime)
 
+/*
+ * Uncomment to trace FreeRTOS malloc wrapper.
+ *
+ */
+// extern int printf (const char *__restrict __format, ...);
+// #define traceMALLOC( pvAddress, uiSize ) printf("[%s:%d] %p %d\n", __FILE__, __LINE__, pvAddress, uiSize)
+
 #endif /* FREERTOS_CONFIG_H */
diff --git a/epicardium/main.c b/epicardium/main.c
index e61f533c23628d999696431860b1e9d3f349c1dd..53eed1ac54346626a4138d139833047858c533a8 100644
--- a/epicardium/main.c
+++ b/epicardium/main.c
@@ -77,7 +77,7 @@ int main(void)
 	if (xTaskCreate(
 		    vApiDispatcher,
 		    (const char *)"API Dispatcher",
-		    configMINIMAL_STACK_SIZE,
+		    configMINIMAL_STACK_SIZE * 16,
 		    NULL,
 		    tskIDLE_PRIORITY + 2,
 		    &dispatcher_task_id) != pdPASS) {