diff --git a/Data/Conduit/LZ4.hsc b/Data/Conduit/LZ4.hsc
--- a/Data/Conduit/LZ4.hsc
+++ b/Data/Conduit/LZ4.hsc
@@ -40,7 +40,7 @@
 foreign import ccall unsafe "lz4.h LZ4_decompress_safe_usingDict"
   c_decompressSafeUsingDict :: CString -> Ptr Word8 -> CInt -> CInt -> Ptr Word8 -> CInt -> IO CInt
 
--- | Compress a Data.ByteString stream using lz4 stream compression
+-- | Compress a Data.ByteString stream (< 2GB / element) using lz4 stream compression
 compress
   :: MonadResource m
   => Maybe Int -- ^ Acceleration value. The higher the faster and less effective!
diff --git a/Main/Test.hs b/Main/Test.hs
--- a/Main/Test.hs
+++ b/Main/Test.hs
@@ -11,9 +11,12 @@
 import qualified Data.ByteString as BS
 import qualified Data.ByteString.Lazy as BSL
 
-prop_lz4_identity (NonNegative a) (Positive n) (Positive m) (ABS bs) = ioProperty $ do
+prop_lz4_identity (NonNegative a) (Positive n') (Positive m') (ABS10M bs) = ioProperty $ do
   res <- runResourceT $ yield bs $$ rechunk n =$= compress (Just a) =$= rechunk m =$= decompress =$= CL.consume
   return (bs == BS.concat res)
+  where
+  n = max 64 n'
+  m = max 64 m'
 
 prop_rechunk_identity (Positive n) (ABS bs) = runConduitPure $ do
   res <- yield bs $$ rechunk n =$= CL.consume
@@ -37,5 +40,5 @@
 
 main :: IO ()
 main = do
-  res <- $quickCheckAll
+  res <- $forAllProperties (quickCheckWithResult (stdArgs {maxSuccess = 10000}))
   when (not res) exitFailure
diff --git a/README.md b/README.md
--- a/README.md
+++ b/README.md
@@ -1,6 +1,7 @@
 # LZ compression for Data.Conduit
 
 This library uses https://github.com/lz4/lz4.git to implement an lz4 compression conduit in stream mode. Note that the resulting format is custom. The package comes with an executable that is compatible.
+Note that this library does not support bytestring chunks of more then 2GB, i.e, it does not function correctly if a bytestring > 2GB is send through the conduit.
 
 # Installation
 
diff --git a/lz4-conduit.cabal b/lz4-conduit.cabal
--- a/lz4-conduit.cabal
+++ b/lz4-conduit.cabal
@@ -1,5 +1,5 @@
 name:                lz4-conduit
-version:             0.2
+version:             0.3
 synopsis:            LZ4 compression for conduits
 description:
   lz4 compression for conduits, using https://github.com/lz4/lz4
@@ -27,7 +27,7 @@
   hs-source-dirs:  .
   exposed-modules: Data.Conduit.LZ4
   build-depends:
-    base >= 4.9 && < 5, conduit >= 1.2 && < 1.3, bytestring >=0.10 && <0.11, resourcet >= 1.1 && <1.2, mtl >= 2.2 && <2.3, binary >= 0.8 && <0.9
+    base >= 4.9 && < 5, conduit >= 1.2 && < 1.4, bytestring >=0.10 && <0.11, resourcet >= 1.1 && <1.3, mtl >= 2.2 && <2.3, binary >= 0.8 && <0.10
 
   c-sources:       c/lz4.c, c/lz4.h
   include-dirs:    c
@@ -39,7 +39,7 @@
   hs-source-dirs:  Main
   main-is:         LZ4.hs
   build-depends:
-    lz4-conduit, base >= 4.9 && < 5, conduit >= 1.2 && < 1.3, conduit-extra >= 1.1 && <1.2, resourcet >= 1.1 && <1.2
+    lz4-conduit, base >= 4.9 && < 5, conduit >= 1.2 && < 1.4, conduit-extra >= 1.2 && <1.4, resourcet >= 1.1 && <1.3
   ghc-options:     -Wall
   default-language: Haskell2010
 
@@ -47,7 +47,7 @@
   hs-source-dirs:  Main
   main-is:         Test.hs
   build-depends:
-    lz4-conduit, base >= 4.9 && < 5, conduit >= 1.2 && < 1.3, resourcet >= 1.1 && <1.2, QuickCheck >= 2.8 && <2.9, bytestring >= 0.10 && <0.11, bytestring-arbitrary >= 0.1 && <0.2
+    lz4-conduit, base >= 4.9 && < 5, conduit >= 1.2 && < 1.4, resourcet >= 1.1 && <1.3, QuickCheck >= 2.8 && <2.12, bytestring >= 0.10 && <0.11, bytestring-arbitrary >= 0.1 && <0.2
   default-language: Haskell2010
   type:            exitcode-stdio-1.0
 
diff --git a/stack.yaml b/stack.yaml
--- a/stack.yaml
+++ b/stack.yaml
@@ -15,7 +15,7 @@
 # resolver:
 #  name: custom-snapshot
 #  location: "./custom-snapshot.yaml"
-resolver: lts-7.14
+resolver: lts-11.1
 
 # User packages to be built.
 # Various formats can be used as shown in the example below.
