diff --git a/src/context/list.rs b/src/context/list.rs
index 47c6c9fe49950b86135d74fd1a8f65b9e8f4bdcd..704642e92c8a32804d97141078027c840934928a 100644
--- a/src/context/list.rs
+++ b/src/context/list.rs
@@ -75,7 +75,7 @@ impl ContextList {
         let context_lock = self.new_context()?;
         {
             let mut context = context_lock.write();
-            let mut fx = unsafe { Box::from_raw(crate::ALLOCATOR.alloc(Layout::from_size_align_unchecked(512, 16)) as *mut [u8; 512]) };
+            let mut fx = unsafe { Box::from_raw(crate::ALLOCATOR.alloc(Layout::from_size_align_unchecked(1024, 16)) as *mut [u8; 1024]) };
             for b in fx.iter_mut() {
                 *b = 0;
             }
diff --git a/src/context/mod.rs b/src/context/mod.rs
index 6c293285bdd606ec3eb41ce434f5922b3343e4fc..a19c428bae89acb73bc0a5d7acbb3db02be3de8d 100644
--- a/src/context/mod.rs
+++ b/src/context/mod.rs
@@ -55,7 +55,7 @@ pub fn init() {
     let mut contexts = contexts_mut();
     let context_lock = contexts.new_context().expect("could not initialize first context");
     let mut context = context_lock.write();
-    let mut fx = unsafe { Box::from_raw(crate::ALLOCATOR.alloc(Layout::from_size_align_unchecked(512, 16)) as *mut [u8; 512]) };
+    let mut fx = unsafe { Box::from_raw(crate::ALLOCATOR.alloc(Layout::from_size_align_unchecked(1024, 16)) as *mut [u8; 1024]) };
     for b in fx.iter_mut() {
         *b = 0;
     }
diff --git a/src/syscall/process.rs b/src/syscall/process.rs
index df1b24de35ee0b270c422892f2b84749bee24418..9adad28330007205b766d7b3f61a06200201c8a0 100644
--- a/src/syscall/process.rs
+++ b/src/syscall/process.rs
@@ -87,7 +87,7 @@ pub fn clone(flags: CloneFlags, stack_base: usize) -> Result<ContextId> {
             arch = context.arch.clone();
 
             if let Some(ref fx) = context.kfx {
-                let mut new_fx = unsafe { Box::from_raw(crate::ALLOCATOR.alloc(Layout::from_size_align_unchecked(512, 16)) as *mut [u8; 512]) };
+                let mut new_fx = unsafe { Box::from_raw(crate::ALLOCATOR.alloc(Layout::from_size_align_unchecked(1024, 16)) as *mut [u8; 1024]) };
                 for (new_b, b) in new_fx.iter_mut().zip(fx.iter()) {
                     *new_b = *b;
                 }